code_junkie

Cannot start workling_starling_client in rails production environment

Nov 11th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. export RAILS_ENV=production
  2.  
  3. RAILS_ENV=production god -d config/monitor_daemons.god -t
  4.  
  5. STARLING_PORT = ENV['RAILS_ENV'] == 'production' ? '-p 15151' : ''
  6.  
  7. God.watch do |w|
  8. ...
  9. w.start = "starling -d -P log/starling.pid -q log/ #{STARLING_PORT}"
  10. ...
  11. end
  12.  
  13. God.watch do |w|
  14. ...
  15. w.start = "script/workling_starling_client start"
  16. ...
Add Comment
Please, Sign In to add comment