Skip to content

Instantly share code, notes, and snippets.

@lexrus
Created December 2, 2013 15:34
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/7751236 to your computer and use it in GitHub Desktop.
Save lexrus/7751236 to your computer and use it in GitHub Desktop.
/etc/supervisor/conf.d/cow.conf
[program:cow]
command=/usr/local/bin/cow -err=true -rc="/root/.cow/rc"
numprocs=1
directory=/root/.cow
autostart=true
autorestart=unexpected
startsecs=2
startretries=3
stdout_logfile=/var/log/cow.log
stdout_logfile_maxbytes=2MB
stderr_logfile=/var/log/cow.error.log
stderr_logfile_masbytes=2MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment