From e3b0768bb45f61095ca8cf266c46685a9074a1bb Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sun, 21 Dec 2025 22:43:30 -0800 Subject: [PATCH] Fine-Tuning Log Rotation Directive Fine-tuning directive to run script after a log file has been rotated. --- uiScribe.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uiScribe.sh b/uiScribe.sh index d8d09be..c1842a0 100644 --- a/uiScribe.sh +++ b/uiScribe.sh @@ -13,7 +13,7 @@ ## Forked from https://github.com/jackyaz/uiScribe ## ## ## ######################################################## -# Last Modified: 2025-Dec-20 +# Last Modified: 2025-Dec-21 #------------------------------------------------------- ########### Shellcheck directives ########## @@ -30,7 +30,7 @@ ### Start of script variables ### readonly SCRIPT_NAME="uiScribe" readonly SCRIPT_VERSION="v1.4.10" -readonly SCRIPT_VERSTAG="25122023" +readonly SCRIPT_VERSTAG="25122122" SCRIPT_BRANCH="develop" SCRIPT_REPO="https://raw.githubusercontent.com/AMTM-OSR/$SCRIPT_NAME/$SCRIPT_BRANCH" readonly SCRIPT_DIR="/jffs/addons/${SCRIPT_NAME}.d" @@ -972,7 +972,7 @@ _RotateAllLogFiles_Preamble_() cat "$noConfigLogList" > "$tmpLogRotateAction" cat <> "$tmpLogRotateAction" { - lastaction + postrotate /usr/bin/killall -HUP syslog-ng endscript }