summaryrefslogtreecommitdiffstats
path: root/main/dansguardian
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-19 08:55:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-19 08:55:56 +0000
commitbe7c34e990c471ab21de3b6f218b142181b25809 (patch)
treedbc61303c0398d03fa4ec327e24ab98beed166e7 /main/dansguardian
parentc739506cea93e0121a7ef1030f9bcff062309273 (diff)
downloadaports-be7c34e990c471ab21de3b6f218b142181b25809.tar.bz2
aports-be7c34e990c471ab21de3b6f218b142181b25809.tar.xz
main/dansguardian: replace opts in init.d script
ref #943
Diffstat (limited to 'main/dansguardian')
-rw-r--r--main/dansguardian/APKBUILD4
-rw-r--r--main/dansguardian/dansguardian.initd8
2 files changed, 6 insertions, 6 deletions
diff --git a/main/dansguardian/APKBUILD b/main/dansguardian/APKBUILD
index 6d3b97f80..003ef7db7 100644
--- a/main/dansguardian/APKBUILD
+++ b/main/dansguardian/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dansguardian
pkgver=2.10.1.1
-pkgrel=7
+pkgrel=8
pkgdesc="Web content filter"
url="http://dansguardian.org"
arch="all"
@@ -43,7 +43,7 @@ build() {
}
md5sums="0987a1c9bfbdf398118386f10279611a dansguardian-2.10.1.1.tar.gz
-c307df7e0aba114cb6199bad48a0416a dansguardian.initd
+feaa8582f8c0251a4bff76b5e05c9369 dansguardian.initd
85b6de01c9508e8ceff5ebb55752f8d3 dansguardian.logrotate
475c46026e8553181d293d5a4feaf6d9 ftp-credential.patch
2c78b5c7346b8fcb3dee352e0c53cb5a dansguardian-2.10.1.1-gcc44.patch"
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
}