From c967ab3b4a9e55e91d77e26452579364e1f19a23 Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sun, 21 Dec 2025 01:33:38 -0800 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ab589e..d62eb0c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **scribe** is a **syslog-ng** and **logrotate** installer for ASUS routers running **Asuswrt-Merlin** ## v3.2.6 -### Updated on 2025-Dec-20 +### Updated on 2025-Dec-21 ## Getting Started From aafb8fd335189e6ae4fd367a868b75ce0015cf4a Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sun, 21 Dec 2025 22:48:08 -0800 Subject: [PATCH 2/2] Fine-Tuning Log Rotation Directive Fine-tuning directive to run script after a log file has been rotated. --- scribe.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scribe.sh b/scribe.sh index 2a143b2..026ae5e 100644 --- a/scribe.sh +++ b/scribe.sh @@ -18,7 +18,7 @@ # curl --retry 3 "https://raw.githubusercontent.com/AMTM-OSR/scribe/master/scribe.h" -o "/jffs/scripts/scribe" && chmod 0755 /jffs/scripts/scribe && /jffs/scripts/scribe install # ################################################################## -# Last Modified: 2025-Dec-18 +# Last Modified: 2025-Dec-21 #----------------------------------------------------------------- ################ Shellcheck directives ################ @@ -78,7 +78,7 @@ readonly scribe_ver="v3.2.6" # Version 'vX.Y_Z' format because I'm stubborn # script_ver="$( echo "$scribe_ver" | sed 's/\./_/2' )" readonly script_ver -readonly scriptVer_TAG="25121822" +readonly scriptVer_TAG="25122122" readonly scriptVer_long="$scribe_ver ($scribe_branch)" readonly script_author="AMTM-OSR" readonly raw_git="https://raw.githubusercontent.com" @@ -1256,7 +1256,7 @@ _RotateAllLogFiles_Preamble_() cat "$noConfigLogList" > "$tmpLogRotateAction" cat <> "$tmpLogRotateAction" { - lastaction + postrotate /usr/bin/killall -HUP syslog-ng endscript }