|
@@ -35,7 +35,7 @@
|
|
|
opServiceEnabled apache || exit 0
|
|
opServiceEnabled apache || exit 0
|
|
|
if [ ".$apache_log_files" != . ]; then
|
|
if [ ".$apache_log_files" != . ]; then
|
|
|
shtool rotate -f \
|
|
shtool rotate -f \
|
|
|
- -n${apache_log_rotsteps} -s${apache_log_rotminsize} -d
|
|
|
|
|
|
|
+ -n${apache_log_rotsteps} -s${apache_log_rotminsize} -d \
|
|
|
-z${apache_log_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
|
|
-z${apache_log_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
|
|
|
-P "$apache_log_rotprolog" \
|
|
-P "$apache_log_rotprolog" \
|
|
|
-E "@l_prefix@/sbin/apachectl restart; $apache_log_rotepilog" \
|
|
-E "@l_prefix@/sbin/apachectl restart; $apache_log_rotepilog" \
|
|
@@ -43,7 +43,7 @@
|
|
|
fi
|
|
fi
|
|
|
if [ ".$apache_err_files" != . ]; then
|
|
if [ ".$apache_err_files" != . ]; then
|
|
|
shtool rotate -f \
|
|
shtool rotate -f \
|
|
|
- -n${apache_err_rotsteps} -s${apache_err_rotminsize} -d
|
|
|
|
|
|
|
+ -n${apache_err_rotsteps} -s${apache_err_rotminsize} -d \
|
|
|
-z${apache_err_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
|
|
-z${apache_err_rotcomplevel} -o@l_fsusr@ -o@l_fsgrp@ -m644 \
|
|
|
-P "$apache_err_rotprolog" \
|
|
-P "$apache_err_rotprolog" \
|
|
|
-E "@l_prefix@/sbin/apachectl restart; $apache_err_rotepilog" \
|
|
-E "@l_prefix@/sbin/apachectl restart; $apache_err_rotepilog" \
|