Commit be7c34e9 authored by Natanael Copa's avatar Natanael Copa

main/dansguardian: replace opts in init.d script

ref #943
parent c739506c
......@@ -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"
......@@ -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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment