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

9 lines
286 B
Plaintext
Executable File

#!/bin/execlineb -P
cd /srv/pandora/pandora
export HOME /srv/pandora
export COLUMNS 80 # Workaround for https://github.com/celery/celery/issues/5761
fdmove -c 2 1
s6-setuidgid pandora
/usr/bin/celery -A app worker -Q default,celery -n pandora-default --maxtasksperchild 1000 -l INFO