summarylogtreecommitdiffstats
path: root/rspamd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'rspamd.logrotate')
-rw-r--r--rspamd.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/rspamd.logrotate b/rspamd.logrotate
new file mode 100644
index 000000000000..129c9e39741b
--- /dev/null
+++ b/rspamd.logrotate
@@ -0,0 +1,7 @@
+/var/log/rspamd/*.log {
+ missingok
+ sharedscripts
+ postrotate
+ /usr/bin/systemctl --signal USR1 kill rspamd.service || true
+ endscript
+}