From: Michael Friedrich Date: Wed, 9 Oct 2013 20:45:52 +0000 (+0200) Subject: spec: Don't add apache user to the icingacmd group. X-Git-Tag: v0.0.3~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7aaee262d382436aac3f5472a526b4e39558f1b3;p=icinga2 spec: Don't add apache user to the icingacmd group. fixes #4829 --- 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 || :