/var/run/celery does not persist after reboot, afterwhich celery fails to start again. we can use the /var/log/celery directory for the .pid file

pull/1/head
Ed Summers 2012-01-18 03:51:11 +00:00
parent 7ecffddc9f
commit 714e45598d
2 changed files with 1 additions and 5 deletions

View File

@ -74,11 +74,8 @@ Below are the steps for getting regluit running on EC2 with Apache and mod_wsgi,
1. `sudo cp deploy/celeryd.conf /etc/default/celeryd`
1. `sudo mkdir /var/log/celery`
1. `sudo chown celery:celery /var/log/celery`
1. `sudo mkdir /var/run/celery`
1. `sudo chown celery:celery /var/run/celery`
1. `sudo /etc/init.d/celeryd start`
OS X Develper Notes
-------------------

View File

@ -1,8 +1,7 @@
CELERYD_NODES="w1"
CELERYD_CHDIR="/opt/regluit/"
CELERYD_LOG_FILE="/var/log/celery/%n.log"
CELERYD_PID_FILE="/var/run/celery/%n.pid"
CELERYD_PID_FILE="/var/log/celery/%n.pid"
CELERYD_USER="celery"
CELERYD_GROUP="celery"
CELERYD="/opt/regluit/ENV/bin/django-admin.py celeryd"