summaryrefslogtreecommitdiffstats
path: root/ctdb/config/ctdb.init
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/config/ctdb.init')
-rwxr-xr-xctdb/config/ctdb.init6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init
index 71b187a104..581844d34c 100755
--- a/ctdb/config/ctdb.init
+++ b/ctdb/config/ctdb.init
@@ -257,6 +257,12 @@ start() {
return 0
}
+ # About to start new $ctdbd. The ping above has failed and any
+ # new $ctdbd will destroy the Unix domain socket, so any processes
+ # that aren't yet completely useless soon will be... so kill
+ # them.
+ pkill -9 -f "$ctdbd"
+
build_ctdb_options
# make sure we drop any ips that might still be held if previous