public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* resource-agents: master - [RGMANAGER] Resolves #483093 - samba.sh tries to kill the wrong pid file
@ 2009-02-02 16:50 Marek Grác
  0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-02-02 16:50 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=9c68101faee7da5dbcb2638880924f8ca23bc750
Commit:        9c68101faee7da5dbcb2638880924f8ca23bc750
Parent:        de80a028c484a8445815770ba41a18bd8bd900aa
Author:        Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate:    Mon Feb 2 17:43:11 2009 +0100
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Mon Feb 2 17:43:11 2009 +0100

[RGMANAGER] Resolves #483093 - samba.sh tries to kill the wrong pid file

Resource agent was using old pid file naming schema. Now it is 'smbd-$config_filename.pid'
---
 rgmanager/src/resources/samba.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/resources/samba.sh b/rgmanager/src/resources/samba.sh
index 1990803..81fd8cb 100644
--- a/rgmanager/src/resources/samba.sh
+++ b/rgmanager/src/resources/samba.sh
@@ -13,8 +13,8 @@ declare SAMBA_SMBD=/usr/sbin/smbd
 declare SAMBA_NMBD=/usr/sbin/nmbd
 declare SAMBA_pid_dir="`generate_name_for_pid_dir`"
 declare SAMBA_conf_dir="`generate_name_for_conf_dir`"
-declare SAMBA_smbd_pid_file="$SAMBA_pid_dir/smbd.pid"
-declare SAMBA_nmbd_pid_file="$SAMBA_pid_dir/nmbd.pid"
+declare SAMBA_smbd_pid_file="$SAMBA_pid_dir/smbd-smb.conf.pid"
+declare SAMBA_nmbd_pid_file="$SAMBA_pid_dir/nmbd-smb.conf.pid"
 declare SAMBA_gen_config_file="$SAMBA_conf_dir/smb.conf"
 
 verify_all()


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-02 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02 16:50 resource-agents: master - [RGMANAGER] Resolves #483093 - samba.sh tries to kill the wrong pid file Marek Grác

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 read-only IMAP folder(s) and NNTP newsgroup(s).