icinga2: Install limits for systemd in %config(noreplace) mode
refs #61
This commit is contained in:
parent
45aedeec77
commit
03b8ac4d15
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue