diff options
Diffstat (limited to 'src/monitor/monitor.h')
-rw-r--r-- | src/monitor/monitor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/monitor/monitor.h b/src/monitor/monitor.h index 78e10ef1..54ce3943 100644 --- a/src/monitor/monitor.h +++ b/src/monitor/monitor.h @@ -25,6 +25,11 @@ #define RESOLV_CONF_PATH "/etc/resolv.conf" #define CONFIG_FILE_POLL_INTERVAL 5 /* seconds */ +/* for detecting if NSCD is running */ +#ifndef NSCD_SOCKET_PATH +#define NSCD_SOCKET_PATH "/var/run/nscd/socket" +#endif + typedef int (*monitor_reconf_fn) (struct config_file_ctx *file_ctx, const char *filename); |