diff options
author | CoprDistGit <infra@openeuler.org> | 2024-06-07 08:09:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-06-07 08:09:38 +0000 |
commit | edf4f9a1c21918301ebf00f421c1e6242177548a (patch) | |
tree | 4f4e54156e7e2eb810d156806ca5ec07cd11b332 /httpd.logrotate | |
parent | 234812b47987978dfc84e99bfdca4f5f4d6fbfa9 (diff) |
automatic import of httpd
Diffstat (limited to 'httpd.logrotate')
-rw-r--r-- | httpd.logrotate | 9 |
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 +} |