1 |
terryfage |
1.1 |
diff -urN e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/httpd/10global e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/httpd/10global |
2 |
|
|
--- e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/httpd/10global 2022-10-07 09:17:49.189344557 +0300 |
3 |
|
|
+++ e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/httpd/10global 2022-10-07 09:18:56.913049806 +0300 |
4 |
|
|
@@ -9,6 +9,6 @@ |
5 |
|
|
{ $OUT = "#default compress see logrotate.conf" ; $OUT = "compress " unless ( (${'httpd-e-smith'}{'CompressLog'} || "disabled") eq "disabled" );} |
6 |
|
|
delaycompress |
7 |
|
|
postrotate |
8 |
|
|
- /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true |
9 |
|
|
+ /bin/systemctl reload-or-restart httpd-*.service > /dev/null 2>/dev/null || true |
10 |
|
|
endscript |
11 |
|
|
\} |