ctdb-scripts: Fix location of persistent databases
authorMartin Schwenke <martin@meltin.net>
Mon, 30 Apr 2018 10:26:20 +0000 (20:26 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 1 May 2018 11:31:20 +0000 (13:31 +0200)
commit051203e1f80c1365e8f72fc3e819e6dda3aac4f2
treeabeda311d3c0796e4988492085ae3bd85c93e581
parenteba893f06c99c3585a5c4f8ada39000b7de31439
ctdb-scripts: Fix location of persistent databases

If CTDB_DBDIR_PERSISTENT is not set then set the default relative to
CTDB_VARDIR.  The persistent database directory is not (necessarily)
relative to the volatile one.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/events.d/00.ctdb