Explorar o código

Example supervisord configuration for celery submitted by Ian Schenck

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
b05d35923e
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  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