summaryrefslogtreecommitdiff
path: root/ctdb/common/cmdline.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-29 15:15:00 +1000
committerAndrew Tridgell <tridge@samba.org>2007-05-29 15:15:00 +1000
commit2d9e0ad56a786767fb29e7debcc6d310d285a14d (patch)
tree045c28e7301967b8e69c43f9744dfe4da0277da7 /ctdb/common/cmdline.c
parentdb5862279bf71f71d854a324df719590090d46f0 (diff)
downloadsamba-2d9e0ad56a786767fb29e7debcc6d310d285a14d.tar.gz
use /etc/services for ctdb
(This used to be ctdb commit 64bf6964ff33320c5351337c7f8ed4da5bd71275)
Diffstat (limited to 'ctdb/common/cmdline.c')
-rw-r--r--ctdb/common/cmdline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/common/cmdline.c b/ctdb/common/cmdline.c
index 19a31514aef..071b50b4355 100644
--- a/ctdb/common/cmdline.c
+++ b/ctdb/common/cmdline.c
@@ -39,12 +39,12 @@ static struct {
const char *logfile;
const char *events;
} ctdb_cmdline = {
- .nlist = NULL,
+ .nlist = "/etc/ctdb/nodes",
.transport = "tcp",
.myaddress = NULL,
.socketname = CTDB_PATH,
.self_connect = 0,
- .db_dir = NULL,
+ .db_dir = VARDIR "/ctdb",
.torture = 0,
.logfile = NULL,
};