summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/syslog
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-03 11:41:26 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-03 11:41:26 (EDT)
commit8bb39b24d81cf1fa7dacf2f79e2583328ba00c3c (patch)
tree23218ba372536182eb5e9e31ed093c1b64639087 /src.etc/init.d/syslog
parentb43c8c2e6ba593169edafd9f1b5b67526edab044 (diff)
Make certain service scripts use PID files.
Diffstat (limited to 'src.etc/init.d/syslog')
-rwxr-xr-xsrc.etc/init.d/syslog4
1 files changed, 2 insertions, 2 deletions
diff --git a/src.etc/init.d/syslog b/src.etc/init.d/syslog
index 095a9bf..32e4bd6 100755
--- a/src.etc/init.d/syslog
+++ b/src.etc/init.d/syslog
@@ -8,12 +8,12 @@ STOP='70'
start()
{
log 'Starting syslog'
- start-stop-daemon -S -q -n syslogd -x /sbin/syslogd -- \
+ start-stop-daemon -S -q -x /sbin/syslogd -- \
-s "${SYSLOG_ROTATE_SIZE}"
}
stop()
{
log 'Stopping syslog'
- start-stop-daemon -K -q -n syslogd
+ start-stop-daemon -K -q -p /var/run/syslogd.pid
}