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
-- 
2.53.0


Reply via email to