Skip to content

Instantly share code, notes, and snippets.

@ericvicenti
Created May 21, 2013 05:06
Show Gist options
  • Save ericvicenti/5617580 to your computer and use it in GitHub Desktop.
Save ericvicenti/5617580 to your computer and use it in GitHub Desktop.
node.js supervisor setup
[program:appname-0]
command=/usr/bin/node /appname
process_name: appname-0
directory=/appname/
environment=NODE_ENV='prod'
user=user
autostart=true
autorestart=true
redirect_stderr=False
stopwaitsecs=30
stdout_logfile=/var/log/appname/stdout.log
stderr_logfile=/var/log/appname/stderr.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment