summaryrefslogtreecommitdiff
path: root/sample.initd
diff options
context:
space:
mode:
Diffstat (limited to 'sample.initd')
-rw-r--r--sample.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample.initd b/sample.initd
index 980c53e..42d03e0 100644
--- a/sample.initd
+++ b/sample.initd
@@ -11,9 +11,9 @@ depend() {
start() {
ebegin "Starting ${NAME}"
- start-stop-daemon --start --quiet --background \
- --make-pidfile --pidfile /var/run/${NAME}.pid \
- --chuid ${USER}:${GROUP} \
+ start-stop-daemon --start --quiet \
+ --pidfile /var/run/${NAME}.pid \
+ --chuid ${DAEMON_USER}:${DAEMON_GROUP} \
--exec ${DAEMON} -- ${OPTS}
eend $?
}