There are too many functions to start/stop daemons. Simplify this.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
return 1
}
-# Does nothing on cluster and should be overridden for local daemons
-maybe_stop_ctdb ()
-{
- :
-}
-
ctdb_restart_when_done ()
{
ctdb_test_restart_scheduled=true
start_ctdb_1 "$1"
}
-maybe_stop_ctdb ()
-{
- ctdb_stop_all
-}
-
# onnode will use CTDB_BASES to help the ctdb tool connection to each
# daemon
export CTDB_BASES=""