webalizer/rc.webalizer

Thu, 02 Apr 2009 14:29:36 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 02 Apr 2009 14:29:36 +0200
changeset 132
648dc0227614
child 134
17a161a7989c
permissions
-rw-r--r--

Correct path to geodb.dat, add runcommand logic, and mark config files.

     1 #!@l_prefix@/bin/openpkg rc
     2 ##
     3 ##  rc.webalizer -- Run-Commands
     4 ##
     6 %config
     7     webalizer_enable="$openpkg_rc_def"
     9 %common
    10     webalizer_etcdir="@l_prefix@/etc/webalizer"
    11     webalizer_webdir="@l_prefix@/web/webalizer"
    13 %daily
    14     rcService webalizer enable yes || exit 0
    16     for cfgfile in $webalizer_etcdir/*.conf; do
    17         [ ".`grep '^disable' $cfgfile`" != . ] && continue
    18         @l_prefix@/bin/webalizer \
    19             -c $cfgfile || exit $?
    20     done

mercurial