Class: Foreman::Export::Supervisord
- Defined in:
- lib/foreman/export/supervisord.rb
Instance Attribute Summary
Attributes inherited from Base
#engine, #formation, #location, #options, #port
Instance Method Summary collapse
Methods inherited from Base
#app, #initialize, #log, procfile, #run, #template, #user
Constructor Details
This class inherits a constructor from Foreman::Export::Base
Instance Method Details
#export ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/foreman/export/supervisord.rb', line 6 def export super Dir["#{location}/#{app}.conf"].each do |file| clean file end write_template "supervisord/app.conf.erb", "#{app}.conf", binding end |