[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga clustermon.spec.in.in



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic sourceware org	2006-08-17 22:25:13

Modified files:
	.              : clustermon.spec.in.in 

Log message:
	minor tune to specfile

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.9&r2=1.10

--- conga/clustermon.spec.in.in	2006/08/17 19:17:50	1.9
+++ conga/clustermon.spec.in.in	2006/08/17 22:25:12	1.10
@@ -24,7 +24,7 @@
 URL: http://sources.redhat.com/cluster/conga
 
 Group: System Environment/Base
-Summary: Red Hat Enterprise Linux Cluster Suite remote management
+Summary: Monitoring and management of Red Hat Enterprise Linux Cluster Suite
 
 Source0: %{name}-%{version}.tar.gz
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -67,7 +67,7 @@
 
 Requires: oddjob dbus openssl
 Requires: initscripts util-linux
-Requires(post): chkconfig initscripts util-linux sed SysVinit
+Requires(post): chkconfig initscripts util-linux
 Requires(preun): chkconfig initscripts
 Requires(postun): initscripts util-linux
 Conflicts: clumon
@@ -88,25 +88,22 @@
 
 
 %post -n modcluster
-/sbin/chkconfig --list modclusterd >/dev/null 2>&1
-if [ "1$?" != "10" ]; then
-   /sbin/chkconfig --add modclusterd
-fi
+/sbin/chkconfig --add modclusterd
 /bin/kill -s SIGHUP `cat /var/run/messagebus.pid` > /dev/null 2>&1
 /sbin/service oddjobd reload > /dev/null 2>&1
 
 %preun -n modcluster
-if [ "1$1" == "10" ]; then
+if [ "$1" == "0" ]; then
    /sbin/service modclusterd stop > /dev/null 2>&1
    /sbin/chkconfig --del modclusterd
 fi
 
 %postun -n modcluster
-if [ "1$1" == "10" ]; then
+if [ "$1" == "0" ]; then
    /bin/kill -s SIGHUP `cat /var/run/messagebus.pid` > /dev/null 2>&1
    /sbin/service oddjobd reload > /dev/null 2>&1
 fi
-if [ "1$1" == "11" ]; then
+if [ "$1" == "1" ]; then
    /sbin/service modclusterd condrestart > /dev/null 2>&1
 fi
 
@@ -142,7 +139,7 @@
 
 %postun -n cluster-snmp
 # don't restart snmpd twice on upgrades
-if [ "1$1" == "10" ]; then
+if [ "$1" == "0" ]; then
    /sbin/service snmpd condrestart > /dev/null 2>&1
 fi
 
@@ -179,7 +176,7 @@
 
 %postun -n cluster-cim
 # don't restart pegasus twice on upgrades
-if [ "1$1" == "10" ]; then
+if [ "$1" == "0" ]; then
    /sbin/service tog-pegasus condrestart > /dev/null 2>&1
 fi
 # pegasus might not be running, don't fail %postun


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]