From f1666212a05beb17f98e3b237114d2a4007cee04 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 3 Jan 2026 23:58:47 +0200 Subject: Update content for html --- gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html | 12 ++++++++---- gemfeed/atom.xml | 14 +++++++++----- 2 files changed, 17 insertions(+), 9 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html index aa845763..46bdf5b3 100644 --- a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html +++ b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.html @@ -1030,6 +1030,8 @@ paul@f0:~ % doas service devd restart
Next, we create the CARP control script that will restart stunnel when the CARP state changes:

+Update: Fixed the script at Sat 3 Jan 23:55:11 EET 2026 - changed $1 to $2 because devd passes $subsystem $type, so the state is in the second argument.
+
#!/bin/sh # CARP state change control script -case "$1" in +case "$2" in MASTER) logger "CARP state changed to MASTER, starting services" ;; @@ -1046,7 +1048,7 @@ http://www.gnu.org/software/src-highlite --> logger "CARP state changed to BACKUP, stopping services" ;; *) - logger "CARP state changed to $1 (unhandled)" + logger "CARP state changed to $2 (unhandled)" ;; esac EOF @@ -1356,6 +1358,8 @@ Starting stunnel.
This approach ensures clients can only connect to the active server, eliminating stale handles from the inactive server:

+Update: Fixed the script at Sat 3 Jan 23:55:11 EET 2026 - changed $1 to $2 because devd passes $subsystem $type, so the state is in the second argument.
+
#!/bin/sh # CARP state change control script -case "$1" in +case "$2" in MASTER) logger "CARP state changed to MASTER, starting services" ;; @@ -7444,7 +7446,7 @@ http://www.gnu.org/software/src-highlite --> logger "CARP state changed to BACKUP, stopping services" ;; *) - logger "CARP state changed to $1 (unhandled)" + logger "CARP state changed to $2 (unhandled)" ;; esac EOF @@ -7754,6 +7756,8 @@ Starting stunnel.
This approach ensures clients can only connect to the active server, eliminating stale handles from the inactive server:

+Update: Fixed the script at Sat 3 Jan 23:55:11 EET 2026 - changed $1 to $2 because devd passes $subsystem $type, so the state is in the second argument.
+