summaryrefslogtreecommitdiff
path: root/network/squid/squid.logrotate
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-11 20:38:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-11 23:53:42 -0500
commit8ac78dc4bcdd624e2aa99dd611e8022b388b716a (patch)
treee5edbef6a0a009b74d0bb150e852f089739ecec0 /network/squid/squid.logrotate
parent8ed760477b9475d7001944adf09252e9614fa3b2 (diff)
downloadslackbuilds-8ac78dc4bcdd624e2aa99dd611e8022b388b716a.tar.gz
network/squid: Fixed logrotate script (added "su" directive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/squid/squid.logrotate')
-rw-r--r--network/squid/squid.logrotate1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/squid/squid.logrotate b/network/squid/squid.logrotate
index cad527de36..eeca36223f 100644
--- a/network/squid/squid.logrotate
+++ b/network/squid/squid.logrotate
@@ -7,6 +7,7 @@
# reopen squid.log, effectively using the new logfile. The old logfile
# (squid.log.1) will be compressed by logrotate's next invocation.
/var/log/squid/*.log {
+ su @USER@ @GROUP@
weekly
rotate 5
compress