Fix path to pidfile
Signed-off-by: Tilman Keskinöz <arved@arved.at> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d3a1037bb6
commit
1b22957a2c
@ -6,13 +6,13 @@
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting logging: "
|
||||
start-stop-daemon -S -q -p /var/run/syslog.pid --exec /sbin/syslogd -- -m 0
|
||||
start-stop-daemon -S -q -p /var/run/syslogd.pid --exec /sbin/syslogd -- -m 0
|
||||
start-stop-daemon -S -q -p /var/run/klogd.pid --exec /sbin/klogd
|
||||
echo "OK"
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping logging: "
|
||||
start-stop-daemon -K -q -p /var/run/syslog.pid
|
||||
start-stop-daemon -K -q -p /var/run/syslogd.pid
|
||||
start-stop-daemon -K -q -p /var/run/klogd.pid
|
||||
echo "OK"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user