summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-06-06 12:55:58 +0000
committerume <ume@FreeBSD.org>2006-06-06 12:55:58 +0000
commit581608f9564c6c97561dd084fea5691d2c0d0f9a (patch)
tree478174481f801aec6aacad6f83d169168d6e041d /etc/rc.d
parentcd66f71303569b6df424ed8ea3c44ece1cfed518 (diff)
downloadFreeBSD-src-581608f9564c6c97561dd084fea5691d2c0d0f9a.zip
FreeBSD-src-581608f9564c6c97561dd084fea5691d2c0d0f9a.tar.gz
Add `reload' which invalidates the cache for every user.
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/cached2
-rw-r--r--etc/rc.d/nscd2
2 files changed, 4 insertions, 0 deletions
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"}
OpenPOWER on IntegriCloud