From 7e3160d37441f705381c91dd724ca5557eea322a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 15:35:15 +0000 Subject: automatic import of httpd --- httpd.logrotate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 httpd.logrotate (limited to 'httpd.logrotate') diff --git a/httpd.logrotate b/httpd.logrotate new file mode 100644 index 0000000..c5a008c --- /dev/null +++ b/httpd.logrotate @@ -0,0 +1,11 @@ +# Note that logs are not compressed unless "compress" is configured, +# which can be done either here or globally in /etc/logrotate.conf. +/var/log/httpd/*log { + missingok + notifempty + sharedscripts + delaycompress + postrotate + /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true + endscript +} -- cgit v1.2.3