Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export RAILS_ENV=production
- RAILS_ENV=production god -d config/monitor_daemons.god -t
- STARLING_PORT = ENV['RAILS_ENV'] == 'production' ? '-p 15151' : ''
- God.watch do |w|
- ...
- w.start = "starling -d -P log/starling.pid -q log/ #{STARLING_PORT}"
- ...
- end
- God.watch do |w|
- ...
- w.start = "script/workling_starling_client start"
- ...
Add Comment
Please, Sign In to add comment