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

9 lines
264 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 beat -s /srv/pandora/data/celerybeat-schedule -l INFO