]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.logrotate
- more verbose files in system-wide dirs
[packages/apache.git] / apache.logrotate
index 9712044b77bf3405b0744bc58ddc8a81c1822117..2d05b37679755e5e30d1bc5a1c426b2a75324613 100644 (file)
@@ -6,9 +6,13 @@
 /var/log/httpd/*request_log
 /var/log/httpd/*rewrite_log
 {
-    olddir /var/log/archiv/httpd
+    olddir /var/log/archive/httpd
     sharedscripts
     postrotate
-               /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+       if /bin/systemd_booted; then
+               /bin/systemctl reload httpd.service
+       else
+               /sbin/service httpd flush-logs > /dev/null
+       fi
     endscript
 }
This page took 0.041359 seconds and 4 git commands to generate.