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

9 lines
280 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 encoding -n pandora-encoding --maxtasksperchild 500 -l INFO