diff options
author | CoprDistGit <infra@openeuler.org> | 2024-02-02 12:03:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-02-02 12:03:31 +0000 |
commit | a12b5db2a95667c9a8affb404d5b5684cad488e4 (patch) | |
tree | 1114887c887a02562e246afc80785b03779f5ce3 /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 +} |