cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga clustermon.spec.in.in
Date: 17 Aug 2006 22:25:13 -0000	[thread overview]
Message-ID: <20060817222513.17811.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at 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



             reply	other threads:[~2006-08-17 22:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-17 22:25 kupcevic [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-28 18:09 [Cluster-devel] conga clustermon.spec.in.in rmccabe
2008-04-23 19:27 rmccabe
2008-02-20 17:23 rmccabe
2008-01-21 23:21 rmccabe
2007-10-10 20:09 rmccabe
2007-06-27  7:49 rmccabe
2006-08-17 19:17 kupcevic
2006-08-16  3:02 kupcevic
2006-08-15 21:40 kupcevic
2006-08-15 21:27 kupcevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060817222513.17811.qmail@sourceware.org \
    --to=kupcevic@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).