From 581608f9564c6c97561dd084fea5691d2c0d0f9a Mon Sep 17 00:00:00 2001 From: ume Date: Tue, 6 Jun 2006 12:55:58 +0000 Subject: Add `reload' which invalidates the cache for every user. --- etc/rc.d/cached | 2 ++ etc/rc.d/nscd | 2 ++ 2 files changed, 4 insertions(+) (limited to 'etc/rc.d') diff --git a/etc/rc.d/cached b/etc/rc.d/cached index 0376b58..bad075f 100644 --- a/etc/rc.d/cached +++ b/etc/rc.d/cached @@ -21,6 +21,8 @@ name=cached rcvar=`set_rcvar` command=/usr/sbin/cached +extra_commands="reload" +reload_cmd="${command} -I all" cached_enable=${cached_enable:-"NO"} cached_pidfile=${cached_pidfile:-"/var/run/cached.pid"} diff --git a/etc/rc.d/nscd b/etc/rc.d/nscd index 0376b58..bad075f 100644 --- a/etc/rc.d/nscd +++ b/etc/rc.d/nscd @@ -21,6 +21,8 @@ name=cached rcvar=`set_rcvar` command=/usr/sbin/cached +extra_commands="reload" +reload_cmd="${command} -I all" cached_enable=${cached_enable:-"NO"} cached_pidfile=${cached_pidfile:-"/var/run/cached.pid"} -- cgit v1.1