summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorpbuetow <35781042+pbuetow@users.noreply.github.com>2020-02-08 18:47:15 +0000
committerGitHub <noreply@github.com>2020-02-08 18:47:15 +0000
commitca28ba95a74706ad3620f6a1980db45c1a92ad4a (patch)
tree03c0a302b006aa08a63d986fdabcb3810ddc48aa /samples
parent80867e437900ae995175d108c593059525e650e6 (diff)
parent95bae52787162b869ecb021e2bbc841bb8b6a65c (diff)
Merge pull request #9 from snonux/master
add systemd update keycache timer example
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