Skip to content

Instantly share code, notes, and snippets.

@danmackinlay
Created August 27, 2009 07:10
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 danmackinlay/176151 to your computer and use it in GitHub Desktop.
Save danmackinlay/176151 to your computer and use it in GitHub Desktop.
a supervisord minimal config for running e.g. a persistent process queue.
[program:queuewalker]
command = /project_path/manage.py process_queue
redirect_stderr = true
user=www-data
umask=002
[supervisord]
logfile = /var/log/supervisord.log
logfile_maxbytes = 50MB
logfile_backups=10
loglevel = info
pidfile = /var/run/supervisord.pid
nodaemon = false
minfds = 1024
minprocs = 200
umask = 002
identifier = supervisor
directory = /tmp
nocleanup = true
childlogdir = /tmp
strip_ansi = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment