소스 검색

Example supervisord configuration for celery submitted by Ian Schenck

Ask Solem 15 년 전
부모
커밋
b05d35923e
1개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  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