Skip to content

Instantly share code, notes, and snippets.

@nwgat
Last active August 29, 2015 14:17
Show Gist options
  • Save nwgat/1239a195e550f3042990 to your computer and use it in GitHub Desktop.
Save nwgat/1239a195e550f3042990 to your computer and use it in GitHub Desktop.
put it in /etc/supervisor/conf.d/shout.conf
[program:shout]
command = node /home/node/shout/index.js --home /home/node/shout
directory = /home/node/shout
user = node
autostart = true
autorestart = true
stdout_logfile = /var/log/supervisor/shout.log
stderr_logfile = /var/log/supervisor/shout_err.log
@nwgat
Copy link
Author

nwgat commented Mar 28, 2015

change to fit your user/paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment