aboutsummaryrefslogtreecommitdiffstats
path: root/extra/squid/squid.logrotate
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-02 08:23:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-02 08:23:12 +0000
commit206861582c4bf8ad92aee9f04bf4171893fb56b1 (patch)
tree2c00225f7b0a343088634b55b954194cf52c1223 /extra/squid/squid.logrotate
parent482fb35c0f8bf019216c05ea2d88e265a6e9bcc2 (diff)
downloadaports-206861582c4bf8ad92aee9f04bf4171893fb56b1.tar.gz
aports-206861582c4bf8ad92aee9f04bf4171893fb56b1.tar.bz2
aports-206861582c4bf8ad92aee9f04bf4171893fb56b1.tar.xz
extra/squid: add logrotate script
fixes #9
Diffstat (limited to 'extra/squid/squid.logrotate')
-rw-r--r--extra/squid/squid.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/squid/squid.logrotate b/extra/squid/squid.logrotate
new file mode 100644
index 0000000000..fb3279e013
--- /dev/null
+++ b/extra/squid/squid.logrotate
@@ -0,0 +1,11 @@
+/var/log/squid/*.log {
+ daily
+ compress
+ rotate 5
+ missingok
+ nocreate
+ sharedscripts
+ postrotate
+ /usr/sbin/squid -k rotate
+ endscript
+}