Annotation of embedaddon/ipguard/doc/ipguard.gentoo, revision 1.1

1.1     ! misho       1: #! /sbin/runscript
        !             2: ##  $Id: ipguard.gentoo,v 1.5 2010/07/12 03:46:52 sead Exp $
        !             3: 
        !             4: opts="reload"
        !             5: 
        !             6: depend() {
        !             7:        use net
        !             8: }
        !             9: 
        !            10: start() {
        !            11:        ebegin "Starting ipguard"
        !            12:        start-stop-daemon --start --quiet --pidfile /var/run/ipguard.pid \
        !            13:                --exec /usr/sbin/ipguard -- -u 300 -xz
        !            14:        eend $?
        !            15: }
        !            16: 
        !            17: stop() {
        !            18:        ebegin "Stopping ipguard"
        !            19:        start-stop-daemon --stop --quiet --pidfile /var/run/ipguard.pid
        !            20:        eend $?
        !            21: }
        !            22: 
        !            23: reload() {
        !            24:        ebegin "Reloading ipguard"
        !            25:        start-stop-daemon --stop --quiet --pidfile /var/run/ipguard.pid \
        !            26:               --signal HUP
        !            27:        eend $?
        !            28: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>