mirror of https://github.com/Icinga/icinga2.git
parent
26b183165f
commit
7aaee262d3
|
@ -4,12 +4,10 @@
|
|||
%define el5_boost_version 141
|
||||
%define el5_boost_libs %{_libdir}/boost%{el5_boost_version}
|
||||
%define el5_boost_includes /usr/include/boost%{el5_boost_version}
|
||||
%define apacheuser apache
|
||||
%endif
|
||||
%if "%{_vendor}" == "suse"
|
||||
%define opensuse_boost_version 1_49_0
|
||||
%define sles_boost_version 1_54_0
|
||||
%define apacheuser wwwrun
|
||||
%endif
|
||||
|
||||
%define icinga_user icinga
|
||||
|
@ -164,7 +162,6 @@ if [ "$1" = "0" ]; then
|
|||
fi
|
||||
|
||||
%post
|
||||
%{_sbindir}/usermod -a -G %{icingacmd_group} %{apacheuser} || :
|
||||
/sbin/chkconfig --add %{name} || :
|
||||
/sbin/service %{name} start &>/dev/null || :
|
||||
|
||||
|
|
Loading…
Reference in New Issue