mirror of https://github.com/Icinga/icinga2.git
Start with sysvinit installation logic
This commit is contained in:
parent
4568f68f90
commit
5f17507cd6
|
@ -435,7 +435,10 @@ exit 0
|
||||||
%files bin
|
%files bin
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog
|
%doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog
|
||||||
|
%if 0%{?el5}%{?el6}%{?opensuse_version}
|
||||||
%attr(755,-,-) %{_sysconfdir}/init.d/%{name}
|
%attr(755,-,-) %{_sysconfdir}/init.d/%{name}
|
||||||
|
%else
|
||||||
|
%attr(755,-,0) %{_unitdir}/%{name}.service
|
||||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}
|
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}
|
||||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d
|
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d
|
||||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d/hosts
|
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d/hosts
|
||||||
|
|
Loading…
Reference in New Issue