summaryrefslogtreecommitdiffstats
path: root/main/squid/squid.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/squid/squid.logrotate')
-rw-r--r--main/squid/squid.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/squid/squid.logrotate b/main/squid/squid.logrotate
new file mode 100644
index 000000000..fb3279e01
--- /dev/null
+++ b/main/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
+}