为异步队列修改 supervisor 配置文件

This commit is contained in:
virusdefender
2015-12-07 21:39:13 +08:00
parent 2f55799457
commit 4ef9f9f01b
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
[program:mq]
command=python manage.py runscript mq
directory=/code/
user=root
numprocs=1
stdout_logfile=/code/log/mq.log
stderr_logfile=/code/log/mq.log
autostart=true
autorestart=true
startsecs=5
stopwaitsecs = 6
killasgroup=true