diff options
author | P. J. McDermott <pjm@nac.net> | 2012-04-29 20:39:53 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-04-29 20:39:53 (EDT) |
commit | c4a7b3c1e0d87b004b9a64379bf3da0102aaee08 (patch) | |
tree | de0f4a1cd7c5639079ab6a87ebc5210cbe17605e /src | |
parent | b3d53a7d7c7adbd547cd51b246bc19173466885d (diff) |
Really fix start-stop-daemon calls.
Diffstat (limited to 'src')
-rwxr-xr-x | src/etc/init.d/syslog | 9 | ||||
-rwxr-xr-x | src/etc/init.d/telnetd | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/etc/init.d/syslog b/src/etc/init.d/syslog index 77e56d0..86e9a93 100755 --- a/src/etc/init.d/syslog +++ b/src/etc/init.d/syslog @@ -5,18 +5,19 @@ SYSLOG_ROTATE_SIZE=65536 case "${1}" in start) printf 'Starting syslog... ' - start-stop-daemon -S -n syslogd -- syslogd -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L + start-stop-daemon -S -q -n syslogd -x syslogd -- \ + -m 0 -s "${SYSLOG_ROTATE_SIZE}" -L printf 'done.' printf 'Starting klogd... ' - start-stop-daemon -S -n klogd -- klogd + start-stop-daemon -S -q -n klogd -x klogd printf 'done.' ;; stop) printf 'Stopping klogd... ' - start-stop-daemon -K -n klogd + start-stop-daemon -K -q -n klogd printf 'done.' printf 'Stopping syslog... ' - start-stop-daemon -K -n syslogd + start-stop-daemon -K -q -n syslogd printf 'done.' ;; restart) diff --git a/src/etc/init.d/telnetd b/src/etc/init.d/telnetd index 791e350..be9043b 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 -n telnetd -- telnetd + start-stop-daemon -S -q -n telnetd -x telnetd printf 'done.' ;; stop) printf 'Stopping telnetd... ' - start-stop-daemon -K -n telnetd + start-stop-daemon -K -q -n telnetd printf 'done.' ;; restart) |