Accepting request 235151 from home:jsegitz:branches:network:ha-clustering:Factory

- added necessary macros for systemd files

OBS-URL: https://build.opensuse.org/request/show/235151
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=135
This commit is contained in:
Yan Gao 2014-05-23 09:12:50 +00:00 committed by Git OBS Bridge
parent aec6f25acd
commit a912ff2982
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