Explorar el Código

Example supervisord configuration for celery submitted by Ian Schenck

Ask Solem hace 15 años
padre
commit
b05d35923e
Se han modificado 1 ficheros con 20 adiciones y 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