* [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed
@ 2026-06-20 16:34 Matthias Fischer
2026-06-22 18:24 ` Adolf Belka
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Fischer @ 2026-06-20 16:34 UTC (permalink / raw)
To: development; +Cc: Matthias Fischer
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed
2026-06-20 16:34 [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed Matthias Fischer
@ 2026-06-22 18:24 ` Adolf Belka
0 siblings, 0 replies; 2+ messages in thread
From: Adolf Belka @ 2026-06-22 18:24 UTC (permalink / raw)
To: Matthias Fischer; +Cc: IPFire: Development-List
Hi Matthias,
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
On 20/06/2026 18:34, Matthias Fischer wrote:
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-22 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20 16:34 [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed Matthias Fischer
2026-06-22 18:24 ` Adolf Belka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox