spec: Don't start Icinga 2 by default.

This commit is contained in:
Gunnar Beutner 2013-10-11 14:58:42 +02:00
parent 5fd17669d3
commit ae4247718e
1 changed files with 0 additions and 10 deletions

View File

@ -177,16 +177,6 @@ getent group %{icingacmd_group} >/dev/null || %{_sbindir}/groupadd -r %{icingacm
getent passwd %{icinga_user} >/dev/null || %{_sbindir}/useradd -c "icinga" -s /sbin/nologin -r -d %{_localstatedir}/spool/%{name} -G %{icingacmd_group} -g %{icinga_group} %{icinga_user}
exit 0
%preun
if [ "$1" = "0" ]; then
/sbin/service %{name} stop &>/dev/null || :
/sbin/chkconfig --del %{name} || :
fi
%post
/sbin/chkconfig --add %{name} || :
/sbin/service %{name} start &>/dev/null || :
%post ido-mysql
if [ ${1:-0} -eq 1 ]
then