]> granicus.if.org Git - icinga2/commitdiff
spec: Don't add apache user to the icingacmd group.
authorMichael Friedrich <Michael.Friedrich@netways.de>
Wed, 9 Oct 2013 20:45:52 +0000 (22:45 +0200)
committerMichael Friedrich <Michael.Friedrich@netways.de>
Wed, 9 Oct 2013 20:45:52 +0000 (22:45 +0200)
fixes #4829

icinga2.spec.in

index 3d5815fb5bd6c5758eb9443397ac0fdf3afa0ef3..48d1add6602c37210d85e0727d11496bc369efdc 100644 (file)
@@ -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 || :