From 32a808d66c021f2cd3de9b2f61fbf6daae25052d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 29 Sep 2019 09:40:59 +0300 Subject: Change: don't terminate even if certbot fails Need to restart apache back up again. --- roles/apache_server/templates/deploy_static_site_certs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/apache_server/templates/deploy_static_site_certs b/roles/apache_server/templates/deploy_static_site_certs index 3239ff0..4933d56 100644 --- a/roles/apache_server/templates/deploy_static_site_certs +++ b/roles/apache_server/templates/deploy_static_site_certs @@ -36,6 +36,6 @@ systemctl stop apache2 for list in /etc/letsencrypt/*.list do certname="$(basename "$list" .list)" - run_certbot "$list" "$certname" + run_certbot "$list" "$certname" || true done systemctl start apache2 -- cgit v1.2.1