|
|
@ -194,7 +194,7 @@ func main() {
|
|
|
|
// Tell the user the node is ready for HTTP, giving some advice on how to connect.
|
|
|
|
// Tell the user the node is ready for HTTP, giving some advice on how to connect.
|
|
|
|
log.Printf("node HTTP API available at %s", cfg.HTTPURL())
|
|
|
|
log.Printf("node HTTP API available at %s", cfg.HTTPURL())
|
|
|
|
h, p, _ := net.SplitHostPort(cfg.HTTPAdv)
|
|
|
|
h, p, _ := net.SplitHostPort(cfg.HTTPAdv)
|
|
|
|
log.Printf("connect using the command-line tool via 'rqlite -H %s -p %s'", h, p)
|
|
|
|
log.Printf("connect using the command-line tool via 'clif -H %s -p %s'", h, p)
|
|
|
|
|
|
|
|
|
|
|
|
// Start any requested auto-backups
|
|
|
|
// Start any requested auto-backups
|
|
|
|
backupSrvStx, backupSrvCancel := context.WithCancel(mainCtx)
|
|
|
|
backupSrvStx, backupSrvCancel := context.WithCancel(mainCtx)
|
|
|
|