aboutsummaryrefslogtreecommitdiff
path: root/files/etc/nscd.conf.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/nscd.conf.freebsd')
-rw-r--r--files/etc/nscd.conf.freebsd27
1 files changed, 27 insertions, 0 deletions
diff --git a/files/etc/nscd.conf.freebsd b/files/etc/nscd.conf.freebsd
new file mode 100644
index 0000000..9105cb5
--- /dev/null
+++ b/files/etc/nscd.conf.freebsd
@@ -0,0 +1,27 @@
+enable-cache passwd yes
+positive-time-to-live passwd ${nscd_ttl}
+negative-time-to-live passwd ${nscd_negative_ttl}
+
+enable-cache group yes
+positive-time-to-live group ${nscd_ttl}
+negative-time-to-live group ${nscd_negative_ttl}
+
+enable-cache hosts yes
+positive-time-to-live hosts ${nscd_ttl}
+negative-time-to-live hosts ${nscd_negative_ttl}
+
+enable-cache services yes
+positive-time-to-live services ${nscd_ttl}
+negative-time-to-live services ${nscd_negative_ttl}
+
+enable-cache protocols yes
+positive-time-to-live protocols ${nscd_ttl}
+negative-time-to-live protocols ${nscd_negative_ttl}
+
+enable-cache rpc yes
+positive-time-to-live rpc ${nscd_ttl}
+negative-time-to-live rpc ${nscd_negative_ttl}
+
+enable-cache networks yes
+positive-time-to-live networks ${nscd_ttl}
+negative-time-to-live networks ${nscd_negative_ttl}