summaryrefslogtreecommitdiff
path: root/package/dansguardian
diff options
context:
space:
mode:
Diffstat (limited to 'package/dansguardian')
-rw-r--r--package/dansguardian/files/dansguardian.init4
1 files changed, 2 insertions, 2 deletions
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