docker 内 server 降权运行
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user