]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache.logrotate
- add fixes and improvements (including securify fix) patches from debian
[packages/apache1.git] / apache.logrotate
index ae9fa010a9f9c81429a634143db8e90a99fbbb93..881946ea6c3161371e6e77b8166f34fc1812f011 100644 (file)
@@ -1,27 +1,13 @@
-/var/log/httpd/access_log {
+/var/log/httpd/*access_log
+/var/log/httpd/*agent_log
+/var/log/httpd/*error_log
+/var/log/httpd/*referer_log
+/var/log/httpd/*request_log
+/var/log/httpd/*rewrite_log
+{
     olddir /var/log/archiv/httpd
+    sharedscripts
     postrotate
-       /bin/killall -HUP httpd
-    endscript
-}
-
-/var/log/httpd/agent_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -HUP httpd
-    endscript
-}
-
-/var/log/httpd/error_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -HUP httpd
-    endscript
-}
-
-/var/log/httpd/referer_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -HUP httpd
+               /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
This page took 0.031151 seconds and 4 git commands to generate.