kvmd-certbot

This commit is contained in:
Maxim Devaev
2022-06-24 16:19:28 +03:00
parent 9f4c241204
commit 9202cf1d44
8 changed files with 153 additions and 9 deletions

View File

@@ -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

View File

@@ -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