diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 08:55:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 08:55:56 +0000 |
commit | be7c34e990c471ab21de3b6f218b142181b25809 (patch) | |
tree | dbc61303c0398d03fa4ec327e24ab98beed166e7 /main/dansguardian/dansguardian.initd | |
parent | c739506cea93e0121a7ef1030f9bcff062309273 (diff) | |
download | aports-be7c34e990c471ab21de3b6f218b142181b25809.tar.bz2 aports-be7c34e990c471ab21de3b6f218b142181b25809.tar.xz |
main/dansguardian: replace opts in init.d script
ref #943
Diffstat (limited to 'main/dansguardian/dansguardian.initd')
-rw-r--r-- | main/dansguardian/dansguardian.initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/dansguardian/dansguardian.initd b/main/dansguardian/dansguardian.initd index 565c1632a..42e2ae9d1 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 } |