Skip to content

Instantly share code, notes, and snippets.

@lexrus
Created July 23, 2014 02:18
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 lexrus/abb901015d6be8369d1b to your computer and use it in GitHub Desktop.
Save lexrus/abb901015d6be8369d1b to your computer and use it in GitHub Desktop.
supervisor config for chinadns
[program:chinadns]
command=/usr/local/bin/chinadns
numprocs=1
autostart=true
autorestart=unexpected
startsecs=2
startretries=3
stdout_logfile=/var/log/chinadns.log
stdout_logfile_maxbytes=2MB
stderr_logfile=/var/log/chinadns.error.log
stderr_logfile_masbytes=2MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment