summaryrefslogtreecommitdiffstats
path: root/extra/dansguardian/dansguardian.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
commitb70981b68efcce5256eb11c6cd26ae123b10b6ea (patch)
treea38be6efae5e2ba15c2e839504632f9b7bfd5f91 /extra/dansguardian/dansguardian.initd
parent2b4df81538b8398442d5296650905c70341dd8d3 (diff)
downloadaports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2
aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'extra/dansguardian/dansguardian.initd')
-rw-r--r--extra/dansguardian/dansguardian.initd32
1 files changed, 0 insertions, 32 deletions
diff --git a/extra/dansguardian/dansguardian.initd b/extra/dansguardian/dansguardian.initd
deleted file mode 100644
index e8f8e94cc..000000000
--- a/extra/dansguardian/dansguardian.initd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# 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"
-
-depend() {
- need net
- use dns \
- squid apache2 bfilter mman junkbuster oops polipo privoxy tinyproxy wwwoffled
-}
-
-start() {
- ebegin "Starting DansGuardian"
- start-stop-daemon --start --quiet --pidfile /var/run/dansguardian.pid \
- --exec /usr/sbin/dansguardian
-eend 0
-}
-
-stop() {
- ebegin "Stopping DansGuardian"
- start-stop-daemon --stop --quiet --pidfile /var/run/dansguardian.pid
-eend 0
-}
-
-reload() {
- ebegin "Reloading DansGuardian"
- /usr/sbin/dansguardian -g
-eend 0
-}
-