This commit is contained in:
j 2013-08-23 18:53:01 +02:00
parent 94b0936a14
commit d48075a635
3 changed files with 6 additions and 3 deletions

View file

@ -19,7 +19,8 @@ end script
exec start-stop-daemon \ exec start-stop-daemon \
--start -c $USER -d $VENV/pandora \ --start -c $USER -d $VENV/pandora \
-n pandora-cron --exec $VENV/bin/python -- \ --pidfile /var/run/pandora/pandora-cron.pid \
--exec $VENV/bin/python -- \
$VENV/pandora/manage.py celerybeat \ $VENV/pandora/manage.py celerybeat \
-s /var/run/pandora/celerybeat-schedule \ -s /var/run/pandora/celerybeat-schedule \
--pidfile /var/run/pandora/pandora-cron.pid \ --pidfile /var/run/pandora/pandora-cron.pid \

View file

@ -19,7 +19,8 @@ end script
exec start-stop-daemon \ exec start-stop-daemon \
--start -c $USER -d $VENV/pandora \ --start -c $USER -d $VENV/pandora \
-n pandora-encoding --exec $VENV/bin/python -- \ --pidfile /var/run/pandora/pandora-encoding.pid \
--exec $VENV/bin/python -- \
$VENV/pandora/manage.py celeryd \ $VENV/pandora/manage.py celeryd \
-Q encoding \ -Q encoding \
-n pandora-encoding \ -n pandora-encoding \

View file

@ -19,7 +19,8 @@ end script
exec start-stop-daemon \ exec start-stop-daemon \
--start -c $USER -d $VENV/pandora \ --start -c $USER -d $VENV/pandora \
-n pandora-tasks --exec $VENV/bin/python -- \ --pidfile /var/run/pandora/pandora-tasks.pid \
--exec $VENV/bin/python -- \
$VENV/pandora/manage.py celeryd \ $VENV/pandora/manage.py celeryd \
-Q default,celery \ -Q default,celery \
-n pandora-default \ -n pandora-default \