michael@157: #!@l_prefix@/bin/openpkg rc michael@157: ## michael@157: ## rc.squirrelmail -- Run-Commands michael@157: ## michael@157: michael@157: %config michael@157: squirrelmail_enable="$openpkg_rc_def" michael@157: squirrelmail_log_prolog="true" michael@157: squirrelmail_log_epilog="true" michael@157: squirrelmail_log_numfiles="10" michael@157: squirrelmail_log_minsize="1M" michael@157: squirrelmail_log_complevel="9" michael@157: michael@157: %daily -u @l_nusr@ michael@157: rcService squirrelmail enable yes || exit 0 michael@157: shtool rotate -f \ michael@157: -n ${squirrelmail_log_numfiles} -s ${squirrelmail_log_minsize} -d \ michael@157: -z ${squirrelmail_log_complevel} -m 644 -o @l_nusr@ -g @l_ngrp@ \ michael@157: -P "${squirrelmail_log_prolog}" \ michael@157: -E "${squirrelmail_log_epilog}" \ michael@157: @l_prefix@/var/squirrelmail/log/access.log michael@157: