- ignore stop errors in %preun

OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=51
This commit is contained in:
Dirk Mueller 2014-11-24 11:55:54 +00:00 committed by Git OBS Bridge
parent c3323c3bbc
commit 411819751e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 24 11:52:42 UTC 2014 - dmueller@suse.com
- ignore stop errors in %preun
-------------------------------------------------------------------
Sun Sep 14 17:18:01 UTC 2014 - tbechtold@suse.com

View File

@ -184,7 +184,6 @@ getent passwd rabbitmq >/dev/null || useradd -r -g rabbitmq \
%if 0%{?have_systemd}
%service_add_pre %{name}.service
%endif
exit 0
%post
%if 0%{?have_systemd}
@ -198,7 +197,7 @@ systemd-tmpfiles --create --clean /usr/lib/tmpfiles.d/rabbitmq-server.conf
%if 0%{?have_systemd}
%service_del_preun %{name}.service
%else
%stop_on_removal rabbitmq-server
%stop_on_removal rabbitmq-server || :
%endif
%postun