|
@@ -63,6 +63,7 @@ do_start()
|
|
--pidfile "$PIDFILE" --exec "$DAEMON" \
|
|
--pidfile "$PIDFILE" --exec "$DAEMON" \
|
|
--test > /dev/null || return 1
|
|
--test > /dev/null || return 1
|
|
start-stop-daemon --start --quiet \
|
|
start-stop-daemon --start --quiet \
|
|
|
|
+ --chuid "$DAEMONUSER:$DAEMONUSER" \
|
|
--pidfile "$PIDFILE" --exec "$DAEMON" -- \
|
|
--pidfile "$PIDFILE" --exec "$DAEMON" -- \
|
|
$DAEMON_ARGS || return 2
|
|
$DAEMON_ARGS || return 2
|
|
# Add code here, if necessary, that waits for the process to be ready
|
|
# Add code here, if necessary, that waits for the process to be ready
|