move celery into app
This commit is contained in:
parent
46621522b1
commit
ee86c9ab9f
3 changed files with 4 additions and 3 deletions
|
|
@ -8,9 +8,9 @@ Restart=always
|
|||
User=pandora
|
||||
Group=pandora
|
||||
PIDFile=/run/pandora/encoding.pid
|
||||
WorkingDirectory=/srv/pandora
|
||||
WorkingDirectory=/srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/celery \
|
||||
-A pandora worker \
|
||||
-A app worker \
|
||||
-Q encoding -n pandora-encoding \
|
||||
--pidfile /run/pandora/encoding.pid \
|
||||
--maxtasksperchild 500 \
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Group=pandora
|
|||
PIDFile=/run/pandora/tasks.pid
|
||||
WorkingDirectory=/srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/celery \
|
||||
-A pandora worker \
|
||||
-A app worker \
|
||||
-Q default,celery -n pandora-default \
|
||||
--pidfile /run/pandora/tasks.pid \
|
||||
--maxtasksperchild 1000 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue