summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-09-04 18:13:45 -0400
committerAndrew Cady <d@jerkface.net>2020-09-04 18:13:45 -0400
commit581306c39db6ed7313967452831642b1fd6cfb2f (patch)
treeacd1479b45cec8c77db92929d917ba0abd579016
parent8edf092b44ca36866f66e6f594d4c8fe62ab804d (diff)
fix steve problem
-rw-r--r--selfpublish.sh4
1 files 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()
180{ 180{
181 local f state 181 local f state
182 f=/etc/apache2/md/domains/"$1"/md.json 182 f=/etc/apache2/md/domains/"$1"/md.json
183 set=$- 183 local set=$-
184 set +x 184 set +x
185 echo -n Waiting for certificate... >&2 185 echo -n Waiting for certificate... >&2
186 while true 186 while true
@@ -262,7 +262,7 @@ then
262 install_self_to_site 262 install_self_to_site
263 systemctl restart apache2 263 systemctl restart apache2
264 wait_for_certificate_issuance "$DOMAIN" 264 wait_for_certificate_issuance "$DOMAIN"
265 systemctl reload apache2 265 systemctl reload apache2 || systemctl restart apache2
266else 266else
267 install_self_to_site 267 install_self_to_site
268fi 268fi