From 581306c39db6ed7313967452831642b1fd6cfb2f Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Fri, 4 Sep 2020 18:13:45 -0400 Subject: fix steve problem --- selfpublish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfpublish.sh b/selfpublish.sh index 2249cf2..1c26021 100644 --- a/selfpublish.sh +++ b/selfpublish.sh @@ -180,7 +180,7 @@ wait_for_certificate_issuance() { local f state f=/etc/apache2/md/domains/"$1"/md.json - set=$- + local set=$- set +x echo -n Waiting for certificate... >&2 while true @@ -262,7 +262,7 @@ then install_self_to_site systemctl restart apache2 wait_for_certificate_issuance "$DOMAIN" - systemctl reload apache2 + systemctl reload apache2 || systemctl restart apache2 else install_self_to_site fi -- cgit v1.2.3