summaryrefslogtreecommitdiff
path: root/user/rspamd/rspamd.logrotated
diff options
context:
space:
mode:
Diffstat (limited to 'user/rspamd/rspamd.logrotated')
-rw-r--r--user/rspamd/rspamd.logrotated11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/rspamd/rspamd.logrotated b/user/rspamd/rspamd.logrotated
new file mode 100644
index 000000000..2a443f2de
--- /dev/null
+++ b/user/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
+}