The Samba-Bugzilla – Attachment 4022 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]
Add function 'running'
0008-Add-function-running.patch (text/plain), 666 bytes, created by
Mathieu Parent
on 2009-03-26 17:11:08 UTC
(
hide
)
Description:
Add function 'running'
Filename:
MIME Type:
Creator:
Mathieu Parent
Created:
2009-03-26 17:11:08 UTC
Size:
666 bytes
patch
obsolete
>From 803af11f2aace3fb95138dd7f6a4e54385b62136 Mon Sep 17 00:00:00 2001 >From: Mathieu Parent <math.parent@gmail.com> >Date: Thu, 26 Mar 2009 22:06:21 +0100 >Subject: [PATCH 08/15] Add function 'running' > >--- > config/ctdb.init | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/config/ctdb.init b/config/ctdb.init >index 2869f88..1401297 100755 >--- a/config/ctdb.init >+++ b/config/ctdb.init >@@ -158,6 +158,11 @@ set_retval() { > return $1 > } > >+running() { >+ ps -e | awk '{print $4}' | grep "^ctdbd$" > /dev/null && return 0 >+ return 1 >+} >+ > start_server() { > killall -q ctdbd > eval_gettext "Starting ctdbd service: " >-- >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