repmgrd: daemonize process by default

It's hard to imagine a use case where this isn't desirable, but
in case, for whatever reason, the user does not wish to daemonize the
process, the command line option "--daemonize=false" can be provided.

Implements GitHub #458.
This commit is contained in:
Ian Barwick
2018-06-29 22:01:49 +09:00
parent d00c0c67d0
commit 802755fd60
6 changed files with 26 additions and 9 deletions

View File

@@ -283,6 +283,10 @@ bool reload_config(t_configuration_options *orig_options);
bool parse_recovery_conf(const char *data_dir, t_recovery_conf *conf);
bool parse_bool(const char *s,
const char *config_item,
ItemList *error_list);
int repmgr_atoi(const char *s,
const char *config_item,
ItemList *error_list,