From bf010f8e3cb88a4204cf44b866d19d0869bb7bc3 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sat, 18 Jan 2025 18:57:25 -0600 Subject: [PATCH] Fix rotate log script --- scripts/rotate-www-logs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rotate-www-logs b/scripts/rotate-www-logs index 40d353c3..77025dac 100755 --- a/scripts/rotate-www-logs +++ b/scripts/rotate-www-logs @@ -72,4 +72,4 @@ for filename in ${directory}/${filenameBase}.*; do done # Set this for `fail2ban` to use. -ln -s "$1" "${directory}"/current.log +ln --force --symbolic "$1" "${directory}"/current.log