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