From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4gkc6f5xVfz2xsf for ; Mon, 22 Jun 2026 18:24:26 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4gkc6b4M2Nz2xJ5 for ; Mon, 22 Jun 2026 18:24:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4gkc6X6b30z4pR; Mon, 22 Jun 2026 18:24:20 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1782152661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eqXCq1dZatN55Zdq6XWV95iHZj6xom+sQH+vYwINzA0=; b=acXEdi6H2OBPdyV7ZecsSnCSq/MVgyMJE2i9aXscOI2K23xybf5bM4IAyMvqjRax8Kgy+m 5gY/IFsCiTXqlkAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1782152661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eqXCq1dZatN55Zdq6XWV95iHZj6xom+sQH+vYwINzA0=; b=W9WuGYSedBt2Lg8QmwPrTA+Rh1FKwfuX3Bk4wc1Px9t6wikZ83IedEH4J4IeQj0JvYVTQy i/rklA7kPJboGj7/Oo9ALHcktYW+vFb1ngrI2CJ1Ndry0BSyVuBrlWUieO6cd4JEVMbQ+J qq2M5bg3mMyrj8U0vX2opIwN9vXcn59LqmyaV+8+kFZSoeZxUYx7Zyy28OFPji9Qcy+yz+ b2zAGpWa8Sm6S2PWXschkeu1jhzSwgPTI0Uf4in56DzpY9b8mU2kVfXrYtKcRpQmL0MQ/T xTbHSmt9EcORfFTpz0tlD/GAFFh3o0VCD2e0o40i+1WssFSthoNLxpBpaq2TwQ== Message-ID: Date: Mon, 22 Jun 2026 20:24:16 +0200 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Subject: Re: [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed To: Matthias Fischer References: <20260620163416.2908-1-matthias.fischer@ipfire.org> From: Adolf Belka Content-Language: en-GB Cc: "IPFire: Development-List" In-Reply-To: <20260620163416.2908-1-matthias.fischer@ipfire.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Matthias, Reviewed-by: Adolf Belka Tested-by: Adolf Belka On 20/06/2026 18:34, Matthias Fischer wrote: > Signed-off-by: Matthias Fischer > --- > 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