summaryrefslogtreecommitdiffstats
path: root/src/etc/init.d/syslog
diff options
context:
space:
mode:
authorP. 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)
commit8cfecb3ffc672c6056ae4ef44fd1641d95a82654 (patch)
treea9249d9a71a51a4233eb3a3745fd1ffacf6e4162 /src/etc/init.d/syslog
parent39eb2bdb0ac4b16f710246d4304aef2e737e2613 (diff)
Fix start-stop-daemon calls?
Diffstat (limited to 'src/etc/init.d/syslog')
-rwxr-xr-xsrc/etc/init.d/syslog8
1 files changed, 4 insertions, 4 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)