The Samba-Bugzilla – Attachment 4023 Details for
Bug 6225
[CTDB] Various enhancements to ctdb.init
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use ctdb ping to check status
0009-Use-ctdb-ping-to-check-status.patch (text/plain), 649 bytes, created by
Mathieu Parent
on 2009-03-26 17:11:33 UTC
(
hide
)
Description:
Use ctdb ping to check status
Filename:
MIME Type:
Creator:
Mathieu Parent
Created:
2009-03-26 17:11:33 UTC
Size:
649 bytes
patch
obsolete
>From fc1099f00523cfcbb7ce7484b380ebb8ca631932 Mon Sep 17 00:00:00 2001 >From: Mathieu Parent <math.parent@gmail.com> >Date: Thu, 26 Mar 2009 22:12:55 +0100 >Subject: [PATCH 09/15] Use ctdb ping to check status > >--- > config/ctdb.init | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/config/ctdb.init b/config/ctdb.init >index 1401297..b525349 100755 >--- a/config/ctdb.init >+++ b/config/ctdb.init >@@ -159,8 +159,8 @@ set_retval() { > } > > running() { >- ps -e | awk '{print $4}' | grep "^ctdbd$" > /dev/null && return 0 >- return 1 >+ ctdb ping > /dev/null 2>&1 || return 1 >+ return 0 > } > > start_server() { >-- >1.6.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6225
:
4015
|
4016
|
4017
|
4018
|
4019
|
4020
|
4021
|
4022
| 4023 |
4024
|
4025
|
4026
|
4027
|
4028
|
4029
|
4030
|
4441
|
5102