Hi Matthias,
Reviewed-by: Adolf Belka <[email protected]>
Tested-by: Adolf Belka <[email protected]>
On 20/06/2026 18:34, Matthias Fischer wrote:
Signed-off-by: Matthias Fischer <[email protected]>
---
config/rootfiles/core/204/update.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/config/rootfiles/core/204/update.sh
b/config/rootfiles/core/204/update.sh
index 477237a04..0629c154e 100644
--- a/config/rootfiles/core/204/update.sh
+++ b/config/rootfiles/core/204/update.sh
@@ -66,6 +66,11 @@ if [ -e /boot/grub/grub.cfg ]; then
/usr/bin/install-bootloader
fi
+# If 'monit' is installed: update '/etc/monitrc' for use with 'monit v6.0.0'
+if [ -e /etc/monitrc ]; then
+ sed -i -e "s/^set logfile/set log/g" /etc/monitrc
+fi
+
sync
# Don't report the exitcode last command