Created
May 8, 2014 08:06
-
-
Save Voronenko/e2065cf40688bc86dc9f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!upstart | |
description "MyApp" | |
author "Author name" | |
env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
respawn | |
start on runlevel [23] | |
stop on shutdown | |
script | |
export DISPLAY=:1 | |
export NODE_ENV=production | |
exec authbind node /var/www/myapp/app.js >> /var/log/myapp.log | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment