Skip to content

Instantly share code, notes, and snippets.

@ryukinix
Last active July 8, 2016 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryukinix/bd4d179329678b4062fb18dab51c35d3 to your computer and use it in GitHub Desktop.
Save ryukinix/bd4d179329678b4062fb18dab51c35d3 to your computer and use it in GitHub Desktop.
A supervisor service template
[program:your-program-label]
command=interpreter file.extension
directory=/the/path/of/program
user=root
autostart=true
autorestart=true
redirect_stderr=true
numprocs=1
numprocs_start=1
stdout_logfile=/tmp/your-program-label.log
stderr_logfile=/tmp/your-program-label.err.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment