--- rpms/e-smith-apache/sme10/e-smith-apache-2.6.0-bz11867.patch 2022/02/19 03:58:23 1.2 +++ rpms/e-smith-apache/sme10/e-smith-apache-2.6.0-bz11867.patch 2022/02/19 04:46:05 1.4 @@ -57,10 +57,10 @@ diff -Nur --no-dereference e-smith-apach + missingok + notifempty + sharedscripts -+ rotate {$httpd-e-smith{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 } -+ maxsize {$httpd-e-smith{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";} -+ maxage {$httpd-e-smith{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;} -+ { $OUT = "compress " unless ( ($httpd-e-smith{'CompressLog'} || "disabled") eq "disabled" );} ++ rotate {${'httpd-e-smith'}{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 } ++ size {${'httpd-e-smith'}{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";} ++ maxage {${'httpd-e-smith'}{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;} ++ { $OUT = "#default compress see logrotate.conf" ; $OUT = "compress " unless ( (${'httpd-e-smith'}{'CompressLog'} || "disabled") eq "disabled" );} + delaycompress + postrotate + /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true