summaryrefslogtreecommitdiffstats
path: root/main/dansguardian/dansguardian.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/dansguardian/dansguardian.logrotate')
-rw-r--r--main/dansguardian/dansguardian.logrotate15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/dansguardian/dansguardian.logrotate b/main/dansguardian/dansguardian.logrotate
new file mode 100644
index 000000000..001d95545
--- /dev/null
+++ b/main/dansguardian/dansguardian.logrotate
@@ -0,0 +1,15 @@
+/var/log/dansguardian/*.log {
+ rotate 4
+ weekly
+ missingok
+ notifempty
+ nocreate
+ nocopy
+ nocopytruncate
+ compress
+
+ postrotate
+ /usr/sbin/dansguardian -r
+ endscript
+}
+