class PleaseRun::Platform::Runit

The platform implementation for runit

Learn what runit is here: smarden.org/runit/

Public Instance Methods

files() click to toggle source
# File lib/pleaserun/platform/runit.rb, line 15
def files
  return Enumerator::Generator.new do |enum|
    enum.yield(safe_filename("{{ service_path }}/{{ name }}/run"), render_template('run'))
    enum.yield(safe_filename("{{ service_path }}/{{ name}}/log/run"), render_template('log'))
  end
end