add web gateway stuff
This commit is contained in:
9
roles/webgateway/files/certbot-script.service
Normal file
9
roles/webgateway/files/certbot-script.service
Normal 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
|
5
roles/webgateway/files/certbot.target
Normal file
5
roles/webgateway/files/certbot.target
Normal file
@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Script based certificate renewal via certbot
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
roles/webgateway/files/certbot.timer
Normal file
10
roles/webgateway/files/certbot.timer
Normal 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
|
Reference in New Issue
Block a user