handle hung or slow ctdb daemons on shutdown
authorAndrew Tridgell <tridge@samba.org>
Wed, 12 Sep 2007 03:26:24 +0000 (13:26 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 12 Sep 2007 03:26:24 +0000 (13:26 +1000)
(This used to be ctdb commit a3089211782ab12387c1b04efa28914c94d89b30)

ctdb/config/ctdb.init

index ffe56241acb6534e1de5eb59fd386549efac8d4a..06ba285edf1f6b0f185fb52d64e61c96feda2d80 100755 (executable)
@@ -92,6 +92,8 @@ start() {
 stop() {
        echo -n $"Shutting down ctdbd service: "
        ctdb shutdown
+       sleep 1
+       killall -q -9 ctdbd
        RETVAL=$?
        case $init_style in
            suse)