summaryrefslogtreecommitdiff
path: root/frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl')
-rw-r--r--frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl b/frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl
index 22173d7..5b11acf 100644
--- a/frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl
+++ b/frontends/scripts/dserver-update-key-cache-freebsd.sh.tpl
@@ -1,6 +1,8 @@
#!/bin/sh
# Refresh the dserver SSH key cache from user authorized_keys files.
-# Called by /usr/local/etc/periodic/daily/200.dserver-update-key-cache.
+# FreeBSD variant: called from the dserver rc.d start_precmd (because
+# /var/run is volatile across reboots — cleanvar purges it) and by
+# /usr/local/etc/periodic/daily/200.dserver-update-key-cache.
CACHEDIR=/var/run/dserver/cache
DSERVER_USER=dserver