add web gateway stuff

This commit is contained in:
2022-04-14 21:41:04 +02:00
parent 0407a0de22
commit 5cfc600b37
9 changed files with 234 additions and 6 deletions

View File

@ -0,0 +1,9 @@
[Unit]
Description=Renew certificates with certbot
[Service]
Type=simple
ExecStart=/usr/bin/bash /opt/certbot.sh
[Install]
WantedBy=certbot.target

View File

@ -0,0 +1,5 @@
[Unit]
Description=Script based certificate renewal via certbot
[Install]
WantedBy=default.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Periodic certificate renewal
[Timer]
OnBootSec=10min
OnCalendar=Sun *-*-* 00:00:00
Unit=certbot.target
[Install]
WantedBy=multi-user.target