In init.d file set name of gunicorn process using setproctitle

This commit is contained in:
Benjamin Dauvergne 2014-09-16 12:10:34 +02:00
parent 9a547f9702
commit 6e8123b5e1
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ DAEMON_ARGS="--pid $PIDFILE \
--workers=10 \
--worker-class=sync \
--timeout=60 \
portail_citoyen2.wsgi:application"
--name $NAME \
portail_citoyen.wsgi:application"
# Exit if the package is not installed
[ -x $DAEMON ] || exit 0