use new celery
This commit is contained in:
parent
62fe578f38
commit
46621522b1
4 changed files with 31 additions and 6 deletions
|
|
@ -8,9 +8,9 @@ Restart=always
|
|||
User=pandora
|
||||
Group=pandora
|
||||
PIDFile=/run/pandora/encoding.pid
|
||||
WorkingDirectory=/srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/python /srv/pandora/pandora/manage.py \
|
||||
celery worker \
|
||||
WorkingDirectory=/srv/pandora
|
||||
ExecStart=/srv/pandora/bin/celery \
|
||||
-A pandora worker \
|
||||
-Q encoding -n pandora-encoding \
|
||||
--pidfile /run/pandora/encoding.pid \
|
||||
--maxtasksperchild 500 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue