aboutsummaryrefslogtreecommitdiffstats
path: root/main/dansguardian/dansguardian.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/dansguardian/dansguardian.initd')
-rw-r--r--main/dansguardian/dansguardian.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/dansguardian/dansguardian.initd b/main/dansguardian/dansguardian.initd
index 565c1632a7..42e2ae9d19 100644
--- a/main/dansguardian/dansguardian.initd
+++ b/main/dansguardian/dansguardian.initd
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/files/dansguardian.init,v 1.2 2005/12/08 22:15:11 mrness Exp $
-opts="{$opts} reload"
+extra_started_commands="reload"
depend() {
need net
@@ -16,18 +16,18 @@ start() {
ebegin "Starting DansGuardian"
start-stop-daemon --start --quiet --pidfile /var/run/dansguardian.pid \
--exec /usr/sbin/dansguardian
-eend 0
+ eend 0
}
stop() {
ebegin "Stopping DansGuardian"
start-stop-daemon --stop --quiet --pidfile /var/run/dansguardian.pid
-eend 0
+ eend 0
}
reload() {
ebegin "Reloading DansGuardian"
/usr/sbin/dansguardian -g
-eend 0
+ eend 0
}