Skip to content

Instantly share code, notes, and snippets.

@johnsyweb
Created July 11, 2013 06:47
Show Gist options
  • Save johnsyweb/5973079 to your computer and use it in GitHub Desktop.
Save johnsyweb/5973079 to your computer and use it in GitHub Desktop.
Start robomo from upstart
# vim: ft=upstart
description "Robomo"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
exec su - ci -c 'cd /home/ci/robomo/lib && ruby robomo.rb > /var/log/robomo.log 2>&1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment