Accepting request 235158 from network:ha-clustering:Factory

- added necessary macros for systemd files (forwarded request 235151 from jsegitz)

OBS-URL: https://build.opensuse.org/request/show/235158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=70
This commit is contained in:
Stephan Kulow 2014-05-26 08:27:36 +00:00 committed by Git OBS Bridge
commit f366d1e42e
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 23 07:33:51 UTC 2014 - jsegitz@novell.com
- added necessary macros for systemd files
-------------------------------------------------------------------
Mon May 12 09:20:16 UTC 2014 - ygao@suse.com

View File

@ -515,6 +515,9 @@ if [ ! -e %{_sysconfdir}/sysconfig/pacemaker ]; then
%fillup_only pacemaker
fi
%pre
%service_add_pre pacemaker.service
%preun
#%systemd_preun pacemaker.service
%service_del_preun pacemaker.service
@ -531,6 +534,9 @@ if [ ! -e %{_sysconfdir}/sysconfig/pacemaker ]; then
%fillup_only pacemaker
fi
%pre remote
%service_add_pre pacemaker_remote.service
%preun remote
#%systemd_preun pacemaker_remote.service
%service_del_preun pacemaker_remote.service