From 8bb39b24d81cf1fa7dacf2f79e2583328ba00c3c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 03 Jun 2014 11:41:26 -0400 Subject: Make certain service scripts use PID files. --- (limited to 'src.etc/init.d/klogd') diff --git a/src.etc/init.d/klogd b/src.etc/init.d/klogd index aa1952c..20b7ac3 100755 --- a/src.etc/init.d/klogd +++ b/src.etc/init.d/klogd @@ -6,11 +6,11 @@ STOP='70' start() { log 'Starting klogd' - start-stop-daemon -S -q -n klogd -x /sbin/klogd + start-stop-daemon -S -q -x /sbin/klogd } stop() { log 'Stopping klogd' - start-stop-daemon -K -q -n klogd + start-stop-daemon -K -q -p /var/run/klogd.pid } -- cgit v0.9.1