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

8 lines
204 B
Plaintext
Executable File

#!/bin/execlineb -P
cd /srv/pandora/pandora
export HOME /srv/pandora
fdmove -c 2 1
s6-setuidgid pandora
./manage.py celerybeat -s /srv/pandora/data/celerybeat-schedule --pidfile pandora-cron.pid -l INFO