diff options
author | David Somero <dsomero@hotmail.com> | 2010-05-11 20:01:44 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 20:01:44 +0200 |
commit | 2bc0efd73ea73d28b0c180711de99249c8609878 (patch) | |
tree | e5feff8d64bbfb52ffbcc5e7c861837b78419e3e /network/squid/squid.logrotate | |
parent | 592862627db3069274d6d2b9aed677b29f518fe4 (diff) |
network/squid: Added to 12.0 repository
Diffstat (limited to 'network/squid/squid.logrotate')
-rw-r--r-- | network/squid/squid.logrotate | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/network/squid/squid.logrotate b/network/squid/squid.logrotate new file mode 100644 index 0000000000000..87b66e6df615d --- /dev/null +++ b/network/squid/squid.logrotate @@ -0,0 +1,15 @@ +/var/log/squid/*.log { + weekly + rotate 5 + copytruncate + compress + notifempty + missingok + +# This script asks squid to rotate its logs on its own. +# Restarting squid is a long process and it is not worth +# doing it just to rotate logs + postrotate + /usr/sbin/squid -k rotate + endscript +} |