initscript: The wrapper script should export CTDB_SOCKET
authorMartin Schwenke <martin@meltin.net>
Fri, 26 Jul 2013 01:20:47 +0000 (11:20 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 29 Jul 2013 05:58:51 +0000 (15:58 +1000)
commit37ccc7c6cc43a80aaa92291aea7a438f4225488a
treeaee97e896b4b46df1e489bc82a3fdf4ae3949591
parent782814288bb560099ee44b607bf35f3eddf37f82
initscript: The wrapper script should export CTDB_SOCKET

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>
config/ctdbd_wrapper