Skip to content

Instantly share code, notes, and snippets.

@jeffjohnson9046
Created June 30, 2015 18:16
Show Gist options
  • Save jeffjohnson9046/27a6eb5b153472910da5 to your computer and use it in GitHub Desktop.
Save jeffjohnson9046/27a6eb5b153472910da5 to your computer and use it in GitHub Desktop.
A sample INI/configuration file for programs that should be monitored by Supervisor
[program:your_program_name_here]
command=;command to start your program
user=;user that your program should run as
autostart=true
autorestart=true
startsecs=10
startretries=3
stdout_logfile=;path to log file, e.g. /var/log/your_program_name_here-stdout.log
stdout_logfile_maxbytes=128MB
stdout_logfile_backups=32
stdout_capture_maxbytes=1MB
stderr_logfile=;path to error log file, e.g. /var/log/your_program_name_here-stderr.log
stderr_logfile_maxbytes=128MB
stderr_logfile_backups=32
stderr_capture_maxbytes=1MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment