summaryrefslogtreecommitdiff
path: root/httpd.logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-05 13:34:49 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-05 13:34:49 +0000
commit122ef770783d5fecd9e8505c999479db6ab22506 (patch)
tree6dda7e9fedcc7994b9b8d1e17eb09f35a82909ba /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
+}