#!@l_prefix@/bin/openpkg rc
##
##  rc.mrtg -- Run-Commands
##

%config
    mrtg_enable="$openpkg_rc_def"

%quarterly -u @l_susr@
    rcService mrtg enable yes || exit 0
    export LANG=C
    @l_prefix@/bin/mrtg \
        --pid-file=@l_prefix@/var/mrtg/mrtg.pid \
        --lock-file=@l_prefix@/var/mrtg/mrtg.lock \
        --confcache-file=@l_prefix@/var/mrtg/mrtg.cache \
        @l_prefix@/etc/mrtg/mrtg.cfg

