ffbsee / ffbsee-ansible

Automatisiertes Aufsetzen und Updaten der Freifunk Gateways.
https://www.ansible.com/
MIT License
1 stars 4 forks source link

line not found / why nginx-restart #77

Open wolf128058 opened 1 year ago

wolf128058 commented 1 year ago

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

wolf128058 commented 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: