[rgmanager/f16] Add cpglockd init scripts to post and preun sections
Fabio M. Di Nitto
fabbione at fedoraproject.org
Tue Jun 19 11:08:06 UTC 2012
commit 6d7ee95a7d17858dd904cb86297d2c8220475b5b
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
Date: Tue Jun 19 13:07:47 2012 +0200
Add cpglockd init scripts to post and preun sections
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
rgmanager.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/rgmanager.spec b/rgmanager.spec
index 58f9fa1..b53f49d 100644
--- a/rgmanager.spec
+++ b/rgmanager.spec
@@ -16,7 +16,7 @@
Name: rgmanager
Summary: Open Source HA Resource Group Failover for Red Hat Cluster
Version: 3.1.92
-Release: 1%{?alphatag:.%{alphatag}}%{?dist}
+Release: 2%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+
Group: System Environment/Base
URL: http://sourceware.org/cluster/wiki/
@@ -72,11 +72,14 @@ applications in the event of planned or unplanned system downtime.
%post
/sbin/chkconfig --add rgmanager
+/sbin/chkconfig --add cpglockd
%preun
if [ "$1" = 0 ]; then
/sbin/service rgmanager stop >/dev/null 2>&1
/sbin/chkconfig --del rgmanager
+ /sbin/service cpglockd stop >/dev/null 2>&1
+ /sbin/chkconfig --del cpglockd
fi
%files
@@ -96,6 +99,9 @@ fi
%config(noreplace) %{_sysconfdir}/sysconfig/cpglockd
%changelog
+* Tue Jun 19 2012 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.1.92-2
+- Add cpglockd init scripts to post and preun sections
+
* Tue Jun 19 2012 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.1.92-1
- new upstream release
More information about the scm-commits
mailing list