git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdc79d4
)
make it possible to set the script log level in CTDB sysconfig
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 16 Oct 2008 22:02:03 +0000
(09:02 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 17 Oct 2008 02:36:52 +0000
(13:36 +1100)
config/ctdb.init
patch
|
blob
|
history
diff --git
a/config/ctdb.init
b/config/ctdb.init
index eb56ef615dbf56db8eea95a0d11b81481a1aab6d..9e06c243288948fe2ba79271c489d665e15bb218 100755
(executable)
--- a/
config/ctdb.init
+++ b/
config/ctdb.init
@@
-75,6
+75,9
@@
CTDB_OPTIONS="$CTDB_OPTIONS --reclock=$CTDB_RECOVERY_LOCK"
[ -z "$CTDB_LVS_PUBLIC_IP" ] || {
CTDB_OPTIONS="$CTDB_OPTIONS --lvs"
}
+[ -z "$CTDB_SCRIPT_LOG_LEVEL" ] || {
+ CTDB_OPTIONS="$CTDB_OPTIONS --script-log-level=$CTDB_SCRIPT_LOG_LEVEL"
+}
if [ "$CTDB_VALGRIND" = "yes" ]; then
init_style="valgrind"