From 8d4fd7bdf10268afed8a998b72c7065b280560a1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 23:30:41 +0200 Subject: Adding debian version 3.8.1-1. Signed-off-by: Daniel Baumann --- debian/rspamd.logrotate | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/rspamd.logrotate (limited to 'debian/rspamd.logrotate') diff --git a/debian/rspamd.logrotate b/debian/rspamd.logrotate new file mode 100644 index 0000000..18253bd --- /dev/null +++ b/debian/rspamd.logrotate @@ -0,0 +1,12 @@ +/var/log/rspamd/rspamd.log { + daily + rotate 4 + delaycompress + compress + notifempty + missingok + postrotate + systemctl kill --signal=SIGUSR1 rspamd >/dev/null 2>&1 \ + || service rspamd reopenlog >/dev/null 2>&1 || true + endscript +} -- cgit v1.2.3