You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
672 B

#!@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