summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2020-02-08 18:30:37 +0000
committerPaul Buetow <paul@buetow.org>2020-02-08 18:30:37 +0000
commitf2ce541c1383474b439347a22f2237c5d08899d8 (patch)
treee45cab1956e01c11a132557f637154e948caf482 /samples
parent6ce71e88bdcfdc343ff88ad1d4215ce026f834d3 (diff)
add update keycache timer examples
Diffstat (limited to 'samples')
-rw-r--r--samples/dserver-update-keycache.service.sample6
-rw-r--r--samples/dserver-update-keycache.timer.sample5
2 files changed, 11 insertions, 0 deletions
diff --git a/samples/dserver-update-keycache.service.sample b/samples/dserver-update-keycache.service.sample
new file mode 100644
index 0000000..7e6144c
--- /dev/null
+++ b/samples/dserver-update-keycache.service.sample
@@ -0,0 +1,6 @@
+[Unit]
+Description=Refresh DServer SSH Key Cache
+
+[Service]
+Type=oneshot
+ExecStart=/var/run/dserver/update_key_cache.sh
diff --git a/samples/dserver-update-keycache.timer.sample b/samples/dserver-update-keycache.timer.sample
new file mode 100644
index 0000000..e7158ca
--- /dev/null
+++ b/samples/dserver-update-keycache.timer.sample
@@ -0,0 +1,5 @@
+[Unit]
+Description=Refresh DServer SSH Key Cache every 30 minutes.
+
+[Timer]
+OnCalendar=*:0/30