]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.logrotate
include mod_authz_default in metapackage
[packages/apache.git] / apache.logrotate
index 52d6f95ae75d0d63af120b92f6375d2c156fd573..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
-               /etc/rc.d/init.d/httpd flush-logs > /dev/null
+       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.028585 seconds and 4 git commands to generate.