[icinga-checkins] icinga.org: icinga2/next: Start with sysvinit installation logic

git at icinga.org git at icinga.org
Sun Jun 15 20:27:43 CEST 2014


Module: icinga2
Branch: next
Commit: 5f17507cd6edec82e34fc265d5da1aa8799b036f
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=5f17507cd6edec82e34fc265d5da1aa8799b036f

Author: Sam Kottler <shk at linux.com>
Date:   Tue May 27 04:01:30 2014 -0400

Start with sysvinit installation logic

---

 icinga2.spec |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/icinga2.spec b/icinga2.spec
index 035a3f8..5813328 100644
--- a/icinga2.spec
+++ b/icinga2.spec
@@ -435,7 +435,10 @@ exit 0
 %files bin
 %defattr(-,root,root,-)
 %doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog
+%if 0%{?el5}%{?el6}%{?opensuse_version}
 %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}/conf.d
 %attr(0750,%{icinga_user},%{icinga_group}) %dir %{_sysconfdir}/%{name}/conf.d/hosts



More information about the icinga-checkins mailing list