diff options
author | Maxim Devaev <[email protected]> | 2022-06-24 16:19:28 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-06-24 16:19:28 +0300 |
commit | 9202cf1d441ba25a13af5b577aa01323e0b919af (patch) | |
tree | 6b6c258e9082b32997aeab4a558f21ce8eb89f2a /configs/os/services | |
parent | 9f4c2412049e21ed6d1bd0237ba1d98ea338f7bb (diff) |
kvmd-certbot
Diffstat (limited to 'configs/os/services')
-rw-r--r-- | configs/os/services/kvmd-certbot.service | 8 | ||||
-rw-r--r-- | configs/os/services/kvmd-certbot.timer | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/configs/os/services/kvmd-certbot.service b/configs/os/services/kvmd-certbot.service new file mode 100644 index 00000000..bf505aea --- /dev/null +++ b/configs/os/services/kvmd-certbot.service @@ -0,0 +1,8 @@ +[Unit] +Description=PiKVM - Certbot-Renew for KVMD-Nginx + +[Service] +Type=oneshot +ExecStart=/usr/bin/kvmd-certbot renew --quiet +# Should we?.. +# PrivateTmp=true diff --git a/configs/os/services/kvmd-certbot.timer b/configs/os/services/kvmd-certbot.timer new file mode 100644 index 00000000..84fc9fcd --- /dev/null +++ b/configs/os/services/kvmd-certbot.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Run KVMD-Certbot twice daily + +[Timer] +OnCalendar=*-*-* 00/12:00:00 +RandomizedDelaySec=12h +Persistent=true + +[Install] +WantedBy=timers.target |