Advertisement
Guest User

upstart issue

a guest
Oct 18th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. start on starting app01-cmd
  2. stop on stopping app01-cmd
  3. respawn
  4.  
  5. expect fork
  6. exec su - app -c 'cd /opt/apps/app01; bundle exec ruby bin/app.rb -p $PORT -s webrick >> /var/log/app01/cmd-1.log 2>&1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement