]> git.pld-linux.org Git - packages/squid.git/commitdiff
- Logrotate script for squid.
authormkochano <mkochano@pld-linux.org>
Thu, 23 Mar 2000 22:09:03 +0000 (22:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid.logrotate -> 1.1

squid.logrotate [new file with mode: 0644]

diff --git a/squid.logrotate b/squid.logrotate
new file mode 100644 (file)
index 0000000..b44be1f
--- /dev/null
@@ -0,0 +1,10 @@
+/var/log/squid/access.log {
+       olddir /var/log/archiv/squid
+       daily
+       rotate 7
+       compress
+       postrotate
+               # signal Squid to restart logging with the new files
+               /usr/bin/killall -USR1 squid
+       endscript
+}
This page took 0.239415 seconds and 4 git commands to generate.