Class: PleaseRun::Platform::Upstart
- Defined in:
- lib/pleaserun/platform/upstart.rb
Overview
The Upstart platform implementation.
If you use Ubuntu (8.10 to present) or CentOS 6 this is for you.
Instance Method Summary collapse
Methods inherited from Base
#initialize, #install_actions, #platform, #render, #render_template, #safe_filename, #sysv_log, #sysv_log_directory?, #template_path
Methods included from MustacheMethods
#escaped, #escaped_args, #quoted, #shell_args, #shell_continuation, #shell_quote
Methods included from Configurable
#configurable_setup, included, #validate
Constructor Details
This class inherits a constructor from PleaseRun::Platform::Base
Instance Method Details
#files ⇒ Object
7 8 9 10 11 |
# File 'lib/pleaserun/platform/upstart.rb', line 7 def files return Enumerator::Generator.new do |out| out.yield(safe_filename("/etc/init/{{ name }}.conf"), render_template("init.conf")) end end |