The Samba-Bugzilla – Attachment 4024 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]
First try to cleanly stop ctdb before killing it
0010-First-try-to-cleanly-stop-ctdb-before-killing-it.patch (text/plain), 752 bytes, created by
Mathieu Parent
on 2009-03-26 17:11:54 UTC
(
hide
)
Description:
First try to cleanly stop ctdb before killing it
Filename:
MIME Type:
Creator:
Mathieu Parent
Created:
2009-03-26 17:11:54 UTC
Size:
752 bytes
patch
obsolete
>From 14d84e1235b35d66423a2e6a31f7551fa03a994c Mon Sep 17 00:00:00 2001 >From: Mathieu Parent <math.parent@gmail.com> >Date: Thu, 26 Mar 2009 22:14:42 +0100 >Subject: [PATCH 10/15] First try to cleanly stop ctdb before killing it > >--- > config/ctdb.init | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/config/ctdb.init b/config/ctdb.init >index b525349..4776e7a 100755 >--- a/config/ctdb.init >+++ b/config/ctdb.init >@@ -242,6 +242,10 @@ stop_server() { > # very crude method > sleep 2 > pkill -9 -f valgrind >+ else if [ "$init_style" = "ubuntu" ]; then >+ start-stop-daemon --stop --quiet --exec /usr/sbin/ctdbd >+ RETVAL=$? >+ fi > fi > while killall -q -0 ctdbd; do > sleep 1 >-- >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