添加 supervisor 队列配置文件
This commit is contained in:
parent
3fe48adbce
commit
b0e53cb6f3
12
supervisor/lae-workers.conf
Normal file
12
supervisor/lae-workers.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[program:lae-queues]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
|
command=docker run -i --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art queue:work --queue=default
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stopasgroup=true
|
||||||
|
killasgroup=true
|
||||||
|
user=root
|
||||||
|
numprocs=8
|
||||||
|
redirect_stderr=true
|
||||||
|
stdout_logfile=/var/log/lae-worker.log
|
||||||
|
stopwaitsecs=3600
|
Loading…
Reference in New Issue
Block a user