diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-02-21 19:02:36 +1100 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-02-21 19:02:36 +1100 |
| commit | 81fb334cff94207c8e7806dcf47b4ceadfeb30b7 (patch) | |
| tree | 753521d7f2177343ccef671b52ead315186b83ff | |
| parent | c47da8b028046e4e44f78cacca655bb1b642941d (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-x | ctdb/config/ctdb.init | 2 |
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/ |
