]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.logrotate
- add fixes and improvements (including securify fix) patches from debian
[packages/apache1.git] / apache1.logrotate
index ae9fa010a9f9c81429a634143db8e90a99fbbb93..0c78c0d9a9ecdf521dbee6a66398c0476d483525 100644 (file)
@@ -1,27 +1,11 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archiv/httpd
-    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
+/var/log/apache/*access_log
+/var/log/apache/*agent_log
+/var/log/apache/*error_log
+/var/log/apache/*referer_log
+{
+       sharedscripts
+    olddir /var/log/archiv/apache
+    postrotate
+               /etc/rc.d/init.d/apache flush-logs > /dev/null
     endscript
 }
This page took 0.064821 seconds and 4 git commands to generate.