diff options
| author | pbuetow <35781042+pbuetow@users.noreply.github.com> | 2020-02-08 18:47:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-08 18:47:15 +0000 |
| commit | 384bf47fcf0871513acf3c2a380e026a079263c7 (patch) | |
| tree | 03c0a302b006aa08a63d986fdabcb3810ddc48aa /samples | |
| parent | 06e73540d5025c1c0b2a39b3f2a96b44c5381351 (diff) | |
| parent | 8b5b167ac2f028016c6de36ed381a38e5c34dca3 (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.sample | 6 | ||||
| -rw-r--r-- | samples/dserver-update-keycache.timer.sample | 5 |
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 |
