summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/dansguardian/files/dansguardian.logrotate')
-rw-r--r--net-proxy/dansguardian/files/dansguardian.logrotate14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-proxy/dansguardian/files/dansguardian.logrotate b/net-proxy/dansguardian/files/dansguardian.logrotate
new file mode 100644
index 000000000000..2fe8ad51204b
--- /dev/null
+++ b/net-proxy/dansguardian/files/dansguardian.logrotate
@@ -0,0 +1,14 @@
+/var/log/dansguardian/access.log {
+ rotate 4
+ weekly
+ missingok
+ notifempty
+ nocreate
+ nocopy
+ nocopytruncate
+ nocompress
+
+ postrotate
+ /usr/sbin/dansguardian -r
+ endscript
+}