From 6e8123b5e123f228cd6b768305b127d1b555b6c4 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 16 Sep 2014 12:10:34 +0200 Subject: [PATCH] In init.d file set name of gunicorn process using setproctitle --- debian/portail-citoyen2.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/portail-citoyen2.init b/debian/portail-citoyen2.init index 5ab6590..c67f55b 100644 --- a/debian/portail-citoyen2.init +++ b/debian/portail-citoyen2.init @@ -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