]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.logrotate
- fix compilation with pcre 8.30
[packages/apache.git] / apache.logrotate
index 2e0f0c2e1d1ca419438dd9692448e9ca909b40c9..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
+       if /bin/systemd_booted; then
+               /bin/systemctl reload httpd.service
+       else
                /sbin/service httpd flush-logs > /dev/null
+       fi
     endscript
 }
This page took 0.044064 seconds and 4 git commands to generate.