--- 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/04/16 06:08:08 1.5 @@ -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 } ++ maxsize {${'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