]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.logrotate
include mod_authz_default in metapackage
[packages/apache.git] / apache.logrotate
index 2e0f0c2e1d1ca419438dd9692448e9ca909b40c9..cc7aa6a250d8936a24440f764e534fef9ca920fd 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 [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
+               /bin/systemctl reload httpd.service
+       else
                /sbin/service httpd flush-logs > /dev/null
+       fi
     endscript
 }
This page took 0.028621 seconds and 4 git commands to generate.