aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rspamd/rspamd.logrotated
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rspamd/rspamd.logrotated')
-rw-r--r--testing/rspamd/rspamd.logrotated11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/rspamd/rspamd.logrotated b/testing/rspamd/rspamd.logrotated
new file mode 100644
index 0000000000..8a30971bc0
--- /dev/null
+++ b/testing/rspamd/rspamd.logrotated
@@ -0,0 +1,11 @@
+/var/log/rspamd/*log {
+ daily
+ rotate 10
+ missingok
+ notifempty
+ compress
+ sharedscripts
+ postrotate
+ /etc/init.d/rspamd --ifstarted reload
+ endscript
+}