Update to startup and build scripts

This commit is contained in:
2010-11-12 09:40:21 +00:00
parent b119f6a1f0
commit 4ffb12c465
3 changed files with 6 additions and 4 deletions

View File

@@ -9,4 +9,5 @@ fabric==0.9.1
flup
django-debug-toolbar==0.8.3
simplejson
django-celery
celery==2.1.2
django-celery==2.1.2

View File

@@ -1,4 +1,4 @@
rm -rf ./env
virtualenv -q --distribute env
virtualenv --distribute env
. ./env/bin/activate
pip install -q -r requirements.txt
pip install -r requirements.txt

View File

@@ -23,5 +23,6 @@ sleep 1
cd $ROOT
source ./env/bin/activate
./manage.py celeryd -B -E -c 5 -l INFO --pidfile $CELERYD_PID_FILE > $ROOT/logs/celeryd.log 2>&1 &
./manage.py celeryd_detach -l INFO -B -E --pidfile $CELERYD_PID_FILE -f $ROOT/logs/celeryd.log -n auth-processor
./manage.py runfcgi daemonize=true pidfile=$AUTH_PID_FILE host=127.0.0.1 port=9981 errlog=$ROOT/logs/stderr.log outlog=$ROOT/logs/stdout.log
./manage.py celerycam --freq=1.0 &