Open wolf128058 opened 1 year ago
all i found for certbot-stuff is a bash script that contains the following lines and is called by cronjob:
systemctl stop apache2
certbot --server https://acme-v02.api.letsencrypt.org/directory auth --keep --expand --standalone -d mate.ffbsee.net,meta.ffbsee.net
systemctl start apache2
less important:
more important:
https://github.com/ffbsee/ffbsee-ansible/blob/0184bf02480f8557051918f8eafe5c5dcc5769d9/roles/apache/tasks/main.yml#L87
this entry is not found in /etc/crontab and imho an nginx-restart is not a good idea on a system without nginx. an apache2 stop before and start after the script would be a better idea