summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-02-21 19:02:36 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-02-21 19:02:36 +1100
commit81fb334cff94207c8e7806dcf47b4ceadfeb30b7 (patch)
tree753521d7f2177343ccef671b52ead315186b83ff
parentc47da8b028046e4e44f78cacca655bb1b642941d (diff)
when shutting down ctdb, allow it 30 seconds instead of 10 before will -9 the daemon
(This used to be ctdb commit d8b400d76665f37ffd9de302eedcff9f23807225)
-rwxr-xr-xctdb/config/ctdb.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init
index 9b30b86004..0b863447b5 100755
--- a/ctdb/config/ctdb.init
+++ b/ctdb/config/ctdb.init
@@ -313,7 +313,7 @@ stop() {
while pkill -0 -f $ctdbd ; do
sleep 1
count=$(($count + 1))
- [ $count -gt 10 ] && {
+ [ $count -gt 30 ] && {
echo -n $"killing ctdbd "
pkill -9 -f $ctdbd
pkill -9 -f $CTDB_BASE/events.d/