Add /etc/repmgr.conf as a default configuration file location

Also refactor configuration file handling while we're at it.

Previously a configuration file would be ignored if it couldn't
be opened, however that is now treated as an error.
This commit is contained in:
Ian Barwick
2015-11-19 15:16:18 +09:00
parent f64c42a514
commit ce3594d52d
7 changed files with 141 additions and 86 deletions

2
log.c
View File

@@ -248,9 +248,9 @@ logger_init(t_configuration_options * opts, const char *ident)
}
return true;
}
bool
logger_shutdown(void)
{