docker 内 server 降权运行

This commit is contained in:
virusdefender
2016-01-08 23:32:30 +08:00
parent 8bf4166d5d
commit 6aaa31386b
6 changed files with 27 additions and 30 deletions

View File

@@ -1,16 +1,12 @@
[program:task_queue]
command=python manage.py celeryd -B -l DEBUG
directory=/code/
user=root
user=nobody
numprocs=1
stdout_logfile=/code/log/task_queue.log
stderr_logfile=/code/log/task_queue.log
autostart=true
autorestart=true
startsecs=5
stopwaitsecs = 6
killasgroup=true