bring init script in line with upstart script
This commit is contained in:
parent
80055319e7
commit
6883260484
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ PANDORA_BASE=/srv/pandora
|
||||||
DAEMON_USER="pandora"
|
DAEMON_USER="pandora"
|
||||||
DAEMON_NAME=bin/gunicorn_django
|
DAEMON_NAME=bin/gunicorn_django
|
||||||
DAEMON="$PANDORA_BASE/$DAEMON_NAME"
|
DAEMON="$PANDORA_BASE/$DAEMON_NAME"
|
||||||
DAEMON_ARGS="--bind 127.0.0.1:2620 --timeout 90 --log-level info --log-file /var/log/pandora/$NAME.log --workers 5"
|
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"
|
||||||
PIDFILE=/var/run/$NAME.pid
|
PIDFILE=/var/run/$NAME.pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue