diff --git a/icinga2.spec.in b/icinga2.spec.in index 3d5815fb5..48d1add66 100644 --- a/icinga2.spec.in +++ b/icinga2.spec.in @@ -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 || :