diff -r 3831ba5c7ba7 -r 3214ed6c04f6 squirrelmail/rc.squirrelmail --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/squirrelmail/rc.squirrelmail Wed Apr 15 22:49:00 2009 +0200 @@ -0,0 +1,22 @@ +#!@l_prefix@/bin/openpkg rc +## +## rc.squirrelmail -- Run-Commands +## + +%config + squirrelmail_enable="$openpkg_rc_def" + squirrelmail_log_prolog="true" + squirrelmail_log_epilog="true" + squirrelmail_log_numfiles="10" + squirrelmail_log_minsize="1M" + squirrelmail_log_complevel="9" + +%daily -u @l_nusr@ + rcService squirrelmail enable yes || exit 0 + shtool rotate -f \ + -n ${squirrelmail_log_numfiles} -s ${squirrelmail_log_minsize} -d \ + -z ${squirrelmail_log_complevel} -m 644 -o @l_nusr@ -g @l_ngrp@ \ + -P "${squirrelmail_log_prolog}" \ + -E "${squirrelmail_log_epilog}" \ + @l_prefix@/var/squirrelmail/log/access.log +