Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 43362
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +12 lines)
Line  Link Here
0
-- dansguardian.old    2004-07-02 14:59:58.160388712 +0300
0
++ dansguardian        2004-07-02 15:04:09.452186552 +0300
Lines 3-8 Link Here
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Header: /var/cvsroot/gentoo-x86/net-www/dansguardian/files/dansguardian.init,v 1.2 2004/03/06 03:59:34 vapier Exp $
4
# $Header: /var/cvsroot/gentoo-x86/net-www/dansguardian/files/dansguardian.init,v 1.2 2004/03/06 03:59:34 vapier Exp $
5
opts="${opts} reload"
6
5
depend() {
7
depend() {
6
       need squid
8
       need squid
7
       need boa
9
       need boa
Lines 21-23 Link Here
21
       start-stop-daemon --stop --quiet --pidfile /var/run/dansguardian.pid
23
       start-stop-daemon --stop --quiet --pidfile /var/run/dansguardian.pid
22
       eend $?
24
       eend $?
23
}
25
}
26
reload() {
27
        if [ ! -f /var/run/dansguardian.pid ]; then
28
               eerror "DansGuardian isn't running"
29
               return 1
30
       fi
31
       ebegin "Reloading DansGuardian configuration"
32
               kill -HUP `cat /var/run/dansguardian.pid` &>/dev/null
33
       eend $?
34
}

Return to bug 43362