Created
April 3, 2014 07:47
-
-
Save gruppjo/9950009 to your computer and use it in GitHub Desktop.
template for linux services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "starts an survey tools node server" | |
author "JG <[email protected]>" | |
start on (local-filesystems and net-device-up) | |
stop on shutdown | |
respawn | |
respawn limit 5 60 | |
# Start the process | |
script | |
exec sudo -u jonny /usr/bin/node /var/www/jonathan.nerds.mway.io/private/survey-webapp/server/server.js | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment