@ -43,6 +43,7 @@
rcService apache2 enable yes || exit 0
rcService apache2 enable yes || exit 0
rcService apache2 active no && exit 0
rcService apache2 active no && exit 0
@l_prefix@/sbin/apachectl stop
@l_prefix@/sbin/apachectl stop
sleep 2
%restart -u @l_susr@
%restart -u @l_susr@
rcService apache2 enable yes || exit 0
rcService apache2 enable yes || exit 0
@ -57,13 +58,13 @@
hintfile=`rcTmp -f -n hint`
hintfile=`rcTmp -f -n hint`
shtool rotate -f \
shtool rotate -f \
-n ${apache2_log_rotsteps} -s ${apache2_log_rotminsize} -d \
-n ${apache2_log_rotsteps} -s ${apache2_log_rotminsize} -d \
-z ${apache2_log_rotcomplevel} -o @l_m usr@ -g @l_mgrp@ -m 644 \
-z ${apache2_log_rotcomplevel} -o @l_s usr@ -g @l_mgrp@ -m 644 \
-P "$apache2_log_rotprolog" \
-P "$apache2_log_rotprolog" \
-E "$apache2_log_rotepilog && echo 1 >$hintfile" \
-E "$apache2_log_rotepilog && echo 1 >$hintfile" \
${apache2_log_files}
${apache2_log_files}
shtool rotate -f \
shtool rotate -f \
-n ${apache2_err_rotsteps} -s ${apache2_err_rotminsize} -d \
-n ${apache2_err_rotsteps} -s ${apache2_err_rotminsize} -d \
-z ${apache2_err_rotcomplevel} -o @l_m usr@ -g @l_mgrp@ -m 644 \
-z ${apache2_err_rotcomplevel} -o @l_s usr@ -g @l_mgrp@ -m 644 \
-P "$apache2_err_rotprolog" \
-P "$apache2_err_rotprolog" \
-E "$apache2_err_rotepilog && echo 1 >$hintfile" \
-E "$apache2_err_rotepilog && echo 1 >$hintfile" \
${apache2_err_files}
${apache2_err_files}