update init scripts

This commit is contained in:
j 2016-02-20 00:39:07 +05:30
commit 09ac3c32b0
3 changed files with 8 additions and 6 deletions

View file

@ -17,9 +17,9 @@ DESC="pan.do/ra daemon"
NAME=pandora
PANDORA_BASE=/srv/pandora
DAEMON_USER="pandora"
DAEMON_NAME=bin/gunicorn_django
DAEMON_NAME=bin/gunicorn
DAEMON="$PANDORA_BASE/$DAEMON_NAME"
DAEMON_ARGS="--bind 127.0.0.1:2620 --max-requests 1000 --timeout 90 --log-level info --log-file /var/log/pandora/$NAME.log --workers 5"
DAEMON_ARGS="wsgi:application --bind 127.0.0.1:2620 --max-requests 1000 --timeout 90 --log-level info --log-file /var/log/pandora/$NAME.log --workers 5"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME