From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/ricci/modules/cluster/clumon/init.d modc ...
Date: 14 Oct 2006 18:52:24 -0000 [thread overview]
Message-ID: <20061014185224.26160.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-10-14 18:52:23
Modified files:
ricci/modules/cluster/clumon/init.d: modclusterd
Log message:
modclusterd: init script: use correct PIDFILE
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/init.d/modclusterd.diff?cvsroot=cluster&r1=1.1&r2=1.2
--- conga/ricci/modules/cluster/clumon/init.d/modclusterd 2006/08/09 20:53:22 1.1
+++ conga/ricci/modules/cluster/clumon/init.d/modclusterd 2006/10/14 18:52:23 1.2
@@ -23,9 +23,9 @@
export PATH
ID="Cluster Module - cluster monitor"
-CLUMOND="modclusterd"
+MODCLUSTERD="modclusterd"
CFG_FILE="/etc/cluster/cluster.conf"
-PIDFILE="/var/run/clumond.pid"
+PIDFILE="/var/run/modclusterd.pid"
LOCKFILE="/var/lock/subsys/modclusterd"
#
@@ -43,13 +43,13 @@
case $1 in
start)
echo -n $"Starting $ID: "
- daemon $CLUMOND
+ daemon $MODCLUSTERD
rtrn=$?
if [ $rtrn -eq 0 ]; then
touch $LOCKFILE
- /usr/bin/logger -t $CLUMOND "startup succeeded"
+ /usr/bin/logger -t $MODCLUSTERD "startup succeeded"
else
- /usr/bin/logger -t $CLUMOND "startup failed"
+ /usr/bin/logger -t $MODCLUSTERD "startup failed"
fi
echo
;;
@@ -62,20 +62,20 @@
;;
status)
- status $CLUMOND
+ status $MODCLUSTERD
rtrn=$?
;;
stop)
echo -n "Shutting down $ID: "
- killproc $CLUMOND SIGTERM
+ killproc $MODCLUSTERD SIGTERM
rtrn=$?
if [ $rtrn -eq 0 ]; then
rm -f $PIDFILE
rm -f $LOCKFILE
- /usr/bin/logger -t $CLUMOND "shutdown succeeded"
+ /usr/bin/logger -t $MODCLUSTERD "shutdown succeeded"
else
- /usr/bin/logger -t $CLUMOND "shutdown failed"
+ /usr/bin/logger -t $MODCLUSTERD "shutdown failed"
fi
rtrn=0
echo
next reply other threads:[~2006-10-14 18:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-14 18:52 kupcevic [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-20 4:50 [Cluster-devel] conga/ricci/modules/cluster/clumon/init.d modc rmccabe
2007-10-22 19:26 rmccabe
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=20061014185224.26160.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).