summaryrefslogtreecommitdiff
path: root/httpd.logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-28 06:53:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-28 06:53:42 +0000
commit5622ca33a2bbafb3ee10248b752876dc66ec28fb (patch)
tree7c8557f2349e0d2b353bf60d3a952b5ba79b259b /httpd.logrotate
parent234812b47987978dfc84e99bfdca4f5f4d6fbfa9 (diff)
automatic import of httpd
Diffstat (limited to 'httpd.logrotate')
-rw-r--r--httpd.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/httpd.logrotate b/httpd.logrotate
new file mode 100644
index 0000000..28c9730
--- /dev/null
+++ b/httpd.logrotate
@@ -0,0 +1,9 @@
+/var/log/httpd/*log {
+ missingok
+ notifempty
+ sharedscripts
+ delaycompress
+ postrotate
+ /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
+ endscript
+}