From 8cfecb3ffc672c6056ae4ef44fd1641d95a82654 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 29 Apr 2012 20:25:41 -0400 Subject: Fix start-stop-daemon calls? --- (limited to 'src') diff --git a/src/etc/init.d/syslog b/src/etc/init.d/syslog index 4979ce6..77e56d0 100755 --- a/src/etc/init.d/syslog +++ b/src/etc/init.d/syslog @@ -5,18 +5,18 @@ SYSLOG_ROTATE_SIZE=65536 case "${1}" in start) printf 'Starting syslog... ' - start-stop-daemon -S syslogd -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L + start-stop-daemon -S -n syslogd -- syslogd -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L printf 'done.' printf 'Starting klogd... ' - start-stop-daemon -S klogd + start-stop-daemon -S -n klogd -- klogd printf 'done.' ;; stop) printf 'Stopping klogd... ' - start-stop-daemon -K klogd + start-stop-daemon -K -n klogd printf 'done.' printf 'Stopping syslog... ' - start-stop-daemon -K syslogd + start-stop-daemon -K -n syslogd printf 'done.' ;; restart) diff --git a/src/etc/init.d/telnetd b/src/etc/init.d/telnetd index fba389c..791e350 100755 --- a/src/etc/init.d/telnetd +++ b/src/etc/init.d/telnetd @@ -3,12 +3,12 @@ case "${1}" in start) printf 'Starting telnetd...' - start-stop-daemon -S telnetd + start-stop-daemon -S -n telnetd -- telnetd printf 'done.' ;; stop) printf 'Stopping telnetd... ' - start-stop-daemon -K telnetd + start-stop-daemon -K -n telnetd printf 'done.' ;; restart) -- cgit v0.9.1