diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-17 10:17:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-17 10:17:56 +0100 |
commit | 3eda5a9aa5541daa3ae90e1f4055888bdf342500 (patch) | |
tree | 466ad62fbe7dcd3d4dfbf00499c3e0235fd16542 /centos/rspamd.spec | |
parent | 25c596a3dafbb682bc07466732da9ce524f4dce9 (diff) | |
download | rspamd-3eda5a9aa5541daa3ae90e1f4055888bdf342500.tar.gz rspamd-3eda5a9aa5541daa3ae90e1f4055888bdf342500.zip |
[Fix] Fix CentOS logrotate script for systemd
Diffstat (limited to 'centos/rspamd.spec')
-rw-r--r-- | centos/rspamd.spec | 4 |
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 |