This ensures that any invocation of the ctdb tool (within the wrapper)
gets the desired value. This at least ensures that ctdbd will be
started.
If a non-standard value is set for CTDB_SOCKET then command-line users
will still need the variable in their environment.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
. "${CTDB_BASE}/functions"
loadconfig "ctdb"
+export CTDB_SOCKET
+
ctdbd="${CTDBD:-/usr/sbin/ctdbd}"
############################################################