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

9 lines
280 B
Plaintext
Raw Permalink Normal View History

2018-01-18 13:39:39 +01:00
#!/bin/execlineb -P
cd /srv/pandora/pandora
export HOME /srv/pandora
export COLUMNS 80 # Workaround for https://github.com/celery/celery/issues/5761
2018-01-18 13:39:39 +01:00
fdmove -c 2 1
s6-setuidgid pandora
2020-03-22 14:54:16 +01:00
/usr/bin/celery -A app worker -Q encoding -n pandora-encoding --maxtasksperchild 500 -l INFO