repmgrd: handle SIGHUP

This commit is contained in:
Ian Barwick
2017-08-29 12:55:13 +09:00
parent df827c6518
commit e0888c1f62
4 changed files with 75 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ void (*_close_connections)(void) = NULL;
* Record receipt of SIGHUP; will cause configuration file to be reread
* at the appropriate point in the main loop.
*/
static volatile sig_atomic_t got_SIGHUP = false;
volatile sig_atomic_t got_SIGHUP = false;
static void show_help(void);
static void show_usage(void);