summaryrefslogtreecommitdiff
path: root/frontends/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/scripts')
-rw-r--r--frontends/scripts/acme.sh.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/scripts/acme.sh.tpl b/frontends/scripts/acme.sh.tpl
index b3301fa..3b3b35f 100644
--- a/frontends/scripts/acme.sh.tpl
+++ b/frontends/scripts/acme.sh.tpl
@@ -48,11 +48,13 @@ handle_cert <%= $host %>
if [ $? -eq 0 ]; then
has_update=yes
fi
+<% unless ($host eq 'blowfish.buetow.org' or $host eq 'fishfinger.buetow.org') { -%>
handle_cert standby.<%= $host %>
if [ $? -eq 0 ]; then
has_update=yes
fi
<% } -%>
+<% } -%>
# Current server's FQDN (e.g. for mail server certs)
handle_cert <%= "$hostname.$domain" %>
@@ -65,6 +67,6 @@ if [ $has_update = yes ]; then
# TLS offloading fully moved to relayd now
# /usr/sbin/rcctl reload httpd
- /usr/sbin/rcctl reload relayd
+ /usr/sbin/rcctl check relayd && /usr/sbin/rcctl reload relayd || /usr/sbin/rcctl restart relayd
/usr/sbin/rcctl restart smtpd
fi