Skip to content

Instantly share code, notes, and snippets.

@bhurlow
Created February 17, 2014 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhurlow/9060828 to your computer and use it in GitHub Desktop.
Save bhurlow/9060828 to your computer and use it in GitHub Desktop.
upstart script
description "PROCESS"
author "breez"
# used to be: start on startup
# until we found some mounts weren't ready yet while booting:
start on started mountall
stop on shutdown
# Automatically Respawn:
# respawn
# respawn limit 99 5
console output
# exec /home/vagrant/local/bin/mongroup -c /home/vagrant/mongroup.conf restart
exec /home/vagrant/local/bin/node /home/vagrant/s1/server.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment