summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xznc/init.d/znc2
1 files changed, 1 insertions, 1 deletions
diff --git a/znc/init.d/znc b/znc/init.d/znc
index 604409a..b8f588c 100755
--- a/znc/init.d/znc
+++ b/znc/init.d/znc
@@ -57,7 +57,7 @@ start() {
ebegin "Starting ZNC: ${ZNC_DATADIR}"
pidfile=$(_get_pid_file "${ZNC_DATADIR}")
- start-stop-daemon --start --quiet --chuid ${ZNC_USER} --exec ${ZNC_DAEMON} \
+ start-stop-daemon --start --quiet --user ${ZNC_USER} --exec ${ZNC_DAEMON} \
--pidfile ${pidfile} --make-pidfile --background \
--chdir ${ZNC_DATADIR} --wait 500 -- -d ${ZNC_DATADIR} -f