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
commit384bf47fcf0871513acf3c2a380e026a079263c7 (patch)
tree03c0a302b006aa08a63d986fdabcb3810ddc48aa /samples
parent06e73540d5025c1c0b2a39b3f2a96b44c5381351 (diff)
parent8b5b167ac2f028016c6de36ed381a38e5c34dca3 (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