File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export ETCD="$HOST:$ETCD_PORT"
1515export ETCD_PATH=${ETCD_PATH:-/ deis/ controller}
1616export ETCD_TTL=${ETCD_TTL:- 10}
1717
18+ export CELERY_LOG_LEVEL=${CELERY_LOG_LEVEL:- INFO}
19+
1820# wait for etcd to be available
1921until etcdctl --no-sync -C $ETCD ls > /dev/null 2>&1 ; do
2022 echo " waiting for etcd at $ETCD ..."
@@ -55,7 +57,7 @@ chown -R deis:deis /var/log/deis
5557sudo -E -u deis ./manage.py syncdb --migrate --noinput
5658
5759# spawn celery workers in the background
58- sudo -E -u deis celery worker --app=deis --loglevel=INFO --workdir=/app --pidfile=/tmp/celery.pid &
60+ sudo -E -u deis celery worker --app=deis --loglevel=$CELERY_LOG_LEVEL --workdir=/app --pidfile=/tmp/celery.pid &
5961
6062# spawn a gunicorn server in the background
6163sudo -E -u deis ./manage.py run_gunicorn -b 0.0.0.0 -w 8 -t 600 -n deis --log-level debug --pid=/tmp/gunicorn.pid --preload &
You can’t perform that action at this time.
0 commit comments