In init.d copy NAME to USER and GROUP

This commit is contained in:
Benjamin Dauvergne 2014-09-16 11:51:54 +02:00
parent 9f78110e26
commit 0ba8023950
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ PIDFILE=$RUN_DIR/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
SOCKFILE=$RUN_DIR/$NAME.sock
USER=portail-citoyen
GROUP=portail-citoyen
USER=$NAME
GROUP=$NAME
DAEMON_ARGS="--pid $PIDFILE \
--user $USER --group $GROUP \