57 |
+ missingok |
+ missingok |
58 |
+ notifempty |
+ notifempty |
59 |
+ sharedscripts |
+ sharedscripts |
60 |
+ rotate {$httpd-e-smith{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 } |
+ rotate {${'httpd-e-smith'}{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 } |
61 |
+ maxsize {$httpd-e-smith{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";} |
+ size {${'httpd-e-smith'}{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";} |
62 |
+ maxage {$httpd-e-smith{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;} |
+ maxage {${'httpd-e-smith'}{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;} |
63 |
+ { $OUT = "compress " unless ( ($httpd-e-smith{'CompressLog'} || "disabled") eq "disabled" );} |
+ { $OUT = "#default compress see logrotate.conf" ; $OUT = "compress " unless ( (${'httpd-e-smith'}{'CompressLog'} || "disabled") eq "disabled" );} |
64 |
+ delaycompress |
+ delaycompress |
65 |
+ postrotate |
+ postrotate |
66 |
+ /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true |
+ /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true |