diff options
| author | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-26 15:05:40 +0200 |
|---|---|---|
| committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-26 15:05:40 +0200 |
| commit | 7c85202ab49b005bf4a4fe5113ccaa9b25b584f9 (patch) | |
| tree | 56229ff26cd878176707d9672fe65148b6073c5a /pynslcd/pynslcd.py | |
| parent | d2e2e400e79c94c2e60f21ec61811dfe948924cc (diff) | |
| parent | e1b0399ee018d217cd50267cef03c28dfdb32fbf (diff) | |
Make cache invalidation more generic
This changes the nscd_invalidate option into a more generic
reconnect_invalidate and also allows clearing the nfsidmap cache.
Diffstat (limited to 'pynslcd/pynslcd.py')
| -rwxr-xr-x | pynslcd/pynslcd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py index df54bad..4a57155 100755 --- a/pynslcd/pynslcd.py +++ b/pynslcd/pynslcd.py @@ -35,7 +35,7 @@ import cfg import common import constants import mypidfile -import nscd +import invalidator import search @@ -323,9 +323,9 @@ if __name__ == '__main__': logging.getLogger().setLevel(min(level for method, level in cfg.logs)) logging.getLogger().removeHandler(stderrhandler) logging.info('version %s starting', constants.VERSION) - # start nscd sub-process if needed - if cfg.nscd_invalidate: - nscd.start_invalidator() + # start invalidator sub-process if needed + if cfg.invalidator_invalidate: + invalidator.start_invalidator() # create socket nslcd_serversocket = create_socket() # load supplementary groups |
