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

%config
    twiki_enable="$openpkg_rc_def"

%status -u @l_susr@ -o
    twiki_usable="no"
    twiki_active="no"
    echo "twiki_enable=\"$twiki_enable\""
    echo "twiki_usable=\"$twiki_usable\""
    echo "twiki_active=\"$twiki_active\""

%hourly -u @l_nusr@
    rcService twiki enable yes || exit 0
    cd @l_prefix@/libexec/twiki && ./mailnotify -q

