Skip to content

Instantly share code, notes, and snippets.

@gergelyke
Created July 11, 2014 05:57
Show Gist options
  • Save gergelyke/aabd221135ae306c34a1 to your computer and use it in GitHub Desktop.
Save gergelyke/aabd221135ae306c34a1 to your computer and use it in GitHub Desktop.
Minimal Node.js supervisor conf
[program:PROJECT_NAME]
command=/home/risingstack/.nvm/v0.10.29/bin/node /home/risingstack/PROJECT_NAME/app.js
autostart=true
autorestart=true
environment=NODE_ENV=production
stderr_logfile=/var/log/PROJECT_NAME.err.log
stdout_logfile=/var/log/PROJECT_NAME.out.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment