aboutsummaryrefslogtreecommitdiffstats
path: root/centos/rspamd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'centos/rspamd.spec')
-rw-r--r--centos/rspamd.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index d1d370327..b16e070de 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -47,8 +47,10 @@ Requires(post): chkconfig
Requires(preun): chkconfig, initscripts
Requires(postun): initscripts
Source1: %{name}.init
-%endif
Source2: %{name}.logrotate
+%else
+Source2: %{name}.logrotate.systemd
+%endif
Source0: https://rspamd.com/downloads/%{name}-%{version}.tar.xz
Source3: 80-rspamd.preset