In init.d copy NAME to USER and GROUP
This commit is contained in:
parent
9f78110e26
commit
0ba8023950
|
@ -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 \
|
||||
|
|
Reference in New Issue