reload worker, no longer gets rotated by logrotate
This commit is contained in:
parent
2b0f2d7b99
commit
bd867779f0
3 changed files with 5 additions and 3 deletions
|
|
@ -10,9 +10,10 @@ Group=pandora
|
|||
PIDFile=/run/pandora/encoding.pid
|
||||
WorkingDirectory=/srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/python /srv/pandora/pandora/manage.py \
|
||||
celeryd \
|
||||
celery worker \
|
||||
-Q encoding -n pandora-encoding \
|
||||
--pidfile /run/pandora/encoding.pid \
|
||||
--maxtasksperchild 500 \
|
||||
-l INFO
|
||||
ExecReload=/bin/kill -TERM $MAINPID
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue