icinga2: Install limits for systemd in %config(noreplace) mode

refs #61
This commit is contained in:
Markus Frosch 2017-11-23 15:26:48 +01:00
parent 45aedeec77
commit 03b8ac4d15
1 changed files with 2 additions and 2 deletions

View File

@ -674,10 +674,10 @@ fi
%if 0%{?use_systemd}
%attr(644,root,root) %{_unitdir}/%{name}.service
%if 0%{?configure_systemd_limits}
%attr(644,root,root) /etc/systemd/system/%{name}.service.d/limits.conf
%attr(644,root,root) %config(noreplace) /etc/systemd/system/%{name}.service.d/limits.conf
%endif
%else
%attr(755,root,root) %{_sysconfdir}/init.d/%{name}
%attr(755,root,root) %config(noreplace) %{_sysconfdir}/init.d/%{name}
%endif
%if "%{_vendor}" == "suse"
%{_sbindir}/rc%{name}