File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# /etc/conf.d/elivepatch
2- DAEMON_USER=root:root
2+ DAEMON_USER=root
3+ DAEMON_GROUP=root
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ PIDFILE=/var/run/${DAEMON_NAME}.pid
1010
1111start () {
1212 ebegin " Starting system ${DAEMON_NAME} daemon"
13- start-stop-daemon --start --background --pidfile ${PIDFILE} --user ${DAEMON_USER} --make-pidfile --exec ${DAEMON} runserver
13+ start-stop-daemon --start --background --pidfile ${PIDFILE} --user ${DAEMON_USER} : ${DAEMON_GROUP} --make-pidfile --exec ${DAEMON} runserver
1414 eend $? " Failed to start ${DAEMON_NAME} "
1515}
1616
1717stop () {
1818 ebegin " Stopping system ${DAEMON_NAME} daemon"
19- start-stop-daemon --stop --pidfile ${PIDFILE} --user ${DAEMON_USER} --retry 10
19+ start-stop-daemon --stop --pidfile ${PIDFILE} --user ${DAEMON_USER} : ${DAEMON_GROUP} --retry 10
2020 eend $? " Failed to stop ${DAEMON_NAME} "
2121}
You can’t perform that action at this time.
0 commit comments