summaryrefslogtreecommitdiffstats
path: root/src/etc/init.d/syslog
diff options
context:
space:
mode:
authorP. 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)
commitc4a7b3c1e0d87b004b9a64379bf3da0102aaee08 (patch)
treede0f4a1cd7c5639079ab6a87ebc5210cbe17605e /src/etc/init.d/syslog
parentb3d53a7d7c7adbd547cd51b246bc19173466885d (diff)
Really fix start-stop-daemon calls.
Diffstat (limited to 'src/etc/init.d/syslog')
-rwxr-xr-xsrc/etc/init.d/syslog9
1 files changed, 5 insertions, 4 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)