Browse Source

Example supervisord configuration for celery submitted by Ian Schenck

Ask Solem 15 years ago
parent
commit
b05d35923e
1 changed files with 20 additions and 0 deletions
  1. 20 0
      contrib/supervisord/supervisord.conf

+ 20 - 0
contrib/supervisord/supervisord.conf

@@ -0,0 +1,20 @@
+[program:celery]
+command=/path/to//python /path/to/manage.py celeryd
+numprocs=1
+user=nobody
+stdout_logfile=/var/log/celery.log
+stderr_logfile=/var/log/celery.log
+
+[program:celerybeat]
+command=/path/to//python /path/to/manage.py celerybeat
+numprocs=1
+user=nobody
+stdout_logfile=/var/log/celerybeat.log
+stderr_logfile=/var/log/celerybeat.log
+
+[program:celerymon]
+command=/path/to//python /path/to/manage.py celerymon
+numprocs=1
+user=nobody
+stdout_logfile=/var/log/celerymon.log
+stderr_logfile=/var/log/celerymon.log