From 7aaee262d382436aac3f5472a526b4e39558f1b3 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 9 Oct 2013 22:45:52 +0200 Subject: [PATCH] spec: Don't add apache user to the icingacmd group. fixes #4829 --- icinga2.spec.in | 3 --- 1 file changed, 3 deletions(-) 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 || : -- 2.50.1