Spotter-VM/lxc-apps/pandora/lxc/etc/services.d/pandora-tasks/run

8 lines
228 B
Plaintext
Executable File

#!/bin/execlineb -P
cd /srv/pandora/pandora
export HOME /srv/pandora
fdmove -c 2 1
s6-setuidgid pandora
./manage.py celery worker -Q default,celery -n pandora-default --pidfile pandora-tasks.pid --maxtasksperchild 1000 -l INFO