diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-03-12 16:52:26 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-15 07:40:52 -0400 |
commit | e45fcd9e478300e6be8a49402fcea81fce623804 (patch) | |
tree | f13ce827e549ebd3985bc51f3dc9848fb98e4f64 /src/monitor/monitor.h | |
parent | 5096bb4c2242b426aa6f5ea2cb82223e0b81a345 (diff) | |
download | sssd-e45fcd9e478300e6be8a49402fcea81fce623804.tar.gz sssd-e45fcd9e478300e6be8a49402fcea81fce623804.tar.xz sssd-e45fcd9e478300e6be8a49402fcea81fce623804.zip |
Flush NSCD cache after modifying local database
Fixes: #221
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 78e10ef1f..54ce39431 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); |