Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sample Supervisord config
command = /usr/local/bin/node index.js
directory = /path/to/project
autostart = true
autorestart = true
environment = NODE_PATH="."
user = ubuntu
stdout_logfile = /var/log/supervisor/%(program_name)s-stdout.log
stdout_logfile_backups = 5
stdout_logfile_maxbytes = 10MB
stderr_logfile = /var/log/supervisor/%(program_name)s-stderr.log
stderr_logfile_backups = 3
stderr_logfile_maxbytes = 2MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.