diff options
author | P. J. McDermott <pjm@nac.net> | 2012-04-29 20:25:41 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-04-29 20:25:41 (EDT) |
commit | 8cfecb3ffc672c6056ae4ef44fd1641d95a82654 (patch) | |
tree | a9249d9a71a51a4233eb3a3745fd1ffacf6e4162 | |
parent | 39eb2bdb0ac4b16f710246d4304aef2e737e2613 (diff) |
Fix start-stop-daemon calls?
-rwxr-xr-x | src/etc/init.d/syslog | 8 | ||||
-rwxr-xr-x | src/etc/init.d/telnetd | 4 |
2 files changed, 6 insertions, 6 deletions
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) |