The Samba-Bugzilla – Attachment 4029 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]
Be more verbose with the cron command
0015-Be-more-verbose-with-the-cron-command.patch (text/plain), 1.06 KB, created by
Mathieu Parent
on 2009-03-26 17:15:19 UTC
(
hide
)
Description:
Be more verbose with the cron command
Filename:
MIME Type:
Creator:
Mathieu Parent
Created:
2009-03-26 17:15:19 UTC
Size:
1.06 KB
patch
obsolete
>From b249b8665c8e1d512d235340f5764a37ebfdd337 Mon Sep 17 00:00:00 2001 >From: Mathieu Parent <math.parent@gmail.com> >Date: Thu, 26 Mar 2009 23:00:10 +0100 >Subject: [PATCH 15/15] Be more verbose with the cron command > >--- > config/ctdb.init | 12 +++++++++++- > 1 files changed, 11 insertions(+), 1 deletions(-) > >diff --git a/config/ctdb.init b/config/ctdb.init >index 7becc0d..f2c3e48 100755 >--- a/config/ctdb.init >+++ b/config/ctdb.init >@@ -319,7 +319,17 @@ case "$1" in > ;; > cron) > # used from cron to auto-restart ctdb >- running || start_server >+ if ! running ; then >+ log_daemon_msg "Starting $DESC " "$NAME" >+ if start_server && running ; then >+ # It's ok, the server started and is running >+ log_end_msg 0 >+ else >+ # Either we could not start it or it is not running >+ # after we did >+ log_end_msg 1 >+ fi >+ fi > ;; > *) > eval_gettext "Usage: $0 {start|stop|restart|status|cron|condrestart}" >&2 >-- >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