X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=apache.logrotate;h=ae9fa010a9f9c81429a634143db8e90a99fbbb93;hb=152fa664c0989277b0cca5159f7f74cde9f53198;hp=4d046f1adb3712c0a742fc28d20f6f034c6216f9;hpb=58f9559ba0a1637067e8bc49bb2ff928429d16a7;p=packages%2Fapache.git diff --git a/apache.logrotate b/apache.logrotate index 4d046f1..ae9fa01 100644 --- a/apache.logrotate +++ b/apache.logrotate @@ -1,23 +1,27 @@ /var/log/httpd/access_log { + olddir /var/log/archiv/httpd postrotate - /usr/bin/killall -HUP httpd + /bin/killall -HUP httpd endscript } /var/log/httpd/agent_log { + olddir /var/log/archiv/httpd postrotate - /usr/bin/killall -HUP httpd + /bin/killall -HUP httpd endscript } /var/log/httpd/error_log { + olddir /var/log/archiv/httpd postrotate - /usr/bin/killall -HUP httpd + /bin/killall -HUP httpd endscript } /var/log/httpd/referer_log { + olddir /var/log/archiv/httpd postrotate - /usr/bin/killall -HUP httpd + /bin/killall -HUP httpd endscript }