summaryrefslogtreecommitdiff
path: root/roles/apache_server/templates/deploy_static_site_certs
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apache_server/templates/deploy_static_site_certs')
-rw-r--r--roles/apache_server/templates/deploy_static_site_certs3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/apache_server/templates/deploy_static_site_certs b/roles/apache_server/templates/deploy_static_site_certs
index 4933d56..2306efb 100644
--- a/roles/apache_server/templates/deploy_static_site_certs
+++ b/roles/apache_server/templates/deploy_static_site_certs
@@ -32,7 +32,8 @@ run_certbot()
}
-systemctl stop apache2
+systemctl stop apache2 || true
+
for list in /etc/letsencrypt/*.list
do
certname="$(basename "$list" .list)"