OnlineJudge/dockerfiles/oj_web_server/task_queue.conf

12 lines
272 B
Plaintext
Raw Normal View History

[program:task_queue]
command=celery -A oj worker --autoscale=30,4 -l DEBUG
2015-09-18 03:17:52 +00:00
directory=/code/
2016-01-08 15:32:30 +00:00
user=nobody
2015-09-17 07:21:08 +00:00
numprocs=1
2015-12-07 13:39:58 +00:00
stdout_logfile=/code/log/task_queue.log
stderr_logfile=/code/log/task_queue.log
2015-09-17 07:21:08 +00:00
autostart=true
autorestart=true
startsecs=5
stopwaitsecs = 5
2015-09-17 07:21:08 +00:00
killasgroup=true