From 0a96e4538fe6552dd75aa939b249030f4cdfd77f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:57:30 +0100 Subject: fix startup scripts, fix stop routine --- package/dansguardian/files/dansguardian.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/dansguardian') diff --git a/package/dansguardian/files/dansguardian.init b/package/dansguardian/files/dansguardian.init index 2f2547f12..2fa9007b2 100644 --- a/package/dansguardian/files/dansguardian.init +++ b/package/dansguardian/files/dansguardian.init @@ -15,10 +15,10 @@ start) touch /var/log/dansguardian-access.log chown proxy:proxy /var/log/dansguardian-access.log fi - dansguardian + /usr/sbin/dansguardian ;; stop) - pkill dansguardian + kill $(pgrep -f /usr/sbin/dansguardian) ;; restart) sh $0 stop -- cgit v1.2.3