Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
check_mk
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
check_mk.spec
@@ -548,7 +548,12 @@ %service_add_post xinetd.service %service_add_post %{name}-agent.socket %{name}-agent@.service %else +%if 0%{?suse_version} %{fillup_and_insserv -y xinetd} +%else +chkconfig --add xinetd || : +chkconfig xinetd on || : +%endif %endif %preun agent @@ -561,7 +566,11 @@ %service_del_postun xinetd.service %service_del_postun %{name}-agent.socket %{name}-agent@.service %else +%if 0%{?suse_version} %restart_on_update xinetd +%else +service xinetd restart || : +%endif %endif %pre caching-agent @@ -574,7 +583,12 @@ %service_add_post xinetd.service %service_add_post %{name}-caching-agent.socket %{name}-caching-agent@.service %else +%if 0%{?suse_version} %{fillup_and_insserv -y xinetd} +%else +chkconfig --add xinetd || : +chkconifg xinetd on || : +%endif %endif %preun caching-agent @@ -587,7 +601,11 @@ %service_del_postun xinetd.service %service_del_postun %{name}-caching-agent.socket %{name}-caching-agent@.service %else +%if 0%{?suse_version} %restart_on_update xinetd +%else +service xinetd restart || : +%endif %endif %post -n mk-livestatus @@ -617,14 +635,26 @@ echo "mkeventd_open514 permissions are not set, i.e not setuid. See /usr/share/doc/packages/mkeventd/permissions.mkeventd for details on resolving this on SUSE systems" +%if 0%{?suse_version} %{fillup_and_insserv mkeventd} +%else +chkconfig --add mkeventd || : +%endif %preun -n mkeventd +%if 0%{?suse_version} %stop_on_removal mkeventd +%else +service mkeventd stop || : +%endif %postun -n mkeventd +%if 0%{?suse_version} %restart_on_update mkeventd %{insserv_cleanup} +%else +service mkeventd restart || : +%endif %files