]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache.logrotate
- updated to 1.3.31, updated apxs and ipv6-PLD patches
[packages/apache1.git] / apache.logrotate
index 4d046f1adb3712c0a742fc28d20f6f034c6216f9..350860e74dbf22462ed986ebeb725ba578765e94 100644 (file)
@@ -1,23 +1,27 @@
-/var/log/httpd/access_log {
+/var/log/httpd/*access_log {
+    olddir /var/log/archiv/httpd
     postrotate
-       /usr/bin/killall -HUP httpd
+       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/agent_log {
+/var/log/httpd/*agent_log {
+    olddir /var/log/archiv/httpd
     postrotate
-       /usr/bin/killall -HUP httpd
+       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/error_log {
+/var/log/httpd/*error_log {
+    olddir /var/log/archiv/httpd
     postrotate
-       /usr/bin/killall -HUP httpd
+       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/referer_log {
+/var/log/httpd/*referer_log {
+    olddir /var/log/archiv/httpd
     postrotate
-       /usr/bin/killall -HUP httpd
+       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
This page took 0.070899 seconds and 4 git commands to generate.