From 5d773fe53266f2cc69ff0ec306dbd4e779816752 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 28 Jul 2025 14:28:39 +0300 Subject: Update content for html --- gemfeed/atom.xml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'gemfeed/atom.xml') diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index db00b626..dc1c83bb 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2025-07-27T23:04:32+03:00 + 2025-07-28T14:27:18+03:00 foo.zone feed To be in the .zone! @@ -1618,20 +1618,24 @@ STATE_FILE="/var/run/nfs-mount.state" touch "$LOCK_FILE" trap "rm -f $LOCK_FILE" EXIT -mount_it () { +remount_it () { + # Try to fix + echo "Attempting to fix/remount NFS mount at $(date)" | systemd-cat -t nfs-monitor -p notice + umount -f "$MOUNT_POINT" 2>/dev/null + sleep 1 + if mount "$MOUNT_POINT"; then echo "NFS mount fixed at $(date)" | systemd-cat -t nfs-monitor -p info rm -f "$STATE_FILE" else echo "Failed to fix NFS mount at $(date)" | systemd-cat -t nfs-monitor -p err - exit 1 fi } # Quick check - ensure it's actually mounted if ! mountpoint -q "$MOUNT_POINT"; then echo "NFS mount not found at $(date)" | systemd-cat -t nfs-monitor -p err - mount_it + remount_it fi # Quick check - try to stat a directory with a very short timeout @@ -1652,12 +1656,7 @@ mount_it () { touch "$STATE_FILE" fi -# Try to fix -echo "Attempting to fix stale NFS mount at $(date)" | systemd-cat -t nfs-monitor -p notice -umount -f "$MOUNT_POINT" 2>/dev/null -sleep 1 - -mount_it +remount_it EOF [root@r0 ~]# chmod +x /usr/local/bin/check-nfs-mount.sh -- cgit v1.2.3