From 00380954b8cd1a8a934b111a17fccd4ab0826f94 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 25 Mar 2024 00:03:15 +0200 Subject: add solarcat.buetow.org TLS certs --- frontends/scripts/dns-failover.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/scripts') diff --git a/frontends/scripts/dns-failover.ksh b/frontends/scripts/dns-failover.ksh index 57f2aee..dfc24ee 100644 --- a/frontends/scripts/dns-failover.ksh +++ b/frontends/scripts/dns-failover.ksh @@ -10,7 +10,7 @@ determine_master_and_standby () { # Weekly auto-failover for Let's Encrypt automation local -i -r week_of_the_year=$(date +%U) - if [ $(( week_of_the_year % 2 )) -eq 0 ]; then + if [ $(( week_of_the_year % 2 )) -ne 0 ]; then local tmp=$master master=$standby standby=$tmp -- cgit v1.2.3