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 4gjKmh727sz2ykC for ; Sat, 20 Jun 2026 16:34:28 +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 4gjKmd4fsCz2xbk for ; Sat, 20 Jun 2026 16:34:25 +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 4gjKmc1pcHzSr; Sat, 20 Jun 2026 16:34:24 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1781973264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tdHXxsKYuWuMaqTyRkEbts/ySBqct+2acFwNWlrQYks=; b=3D5prjOyEalNdqN1CqOQGapyAIu83vGDPbPxiguHoNM3SAgnW/6hnGMisCJOE0cZvpZhik 7q6uxxPEV3ELETAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1781973264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tdHXxsKYuWuMaqTyRkEbts/ySBqct+2acFwNWlrQYks=; b=tdgK9b18myP/BTJJoxN/hsmD+omim5Ew/GgvaE18TIIUrkJX55CMSoWDhOeyNPjsaqjxfm tgD4KsesyO1eIgf4Gd7+zE1bGRpLUD+PtIzBcYo4swMvRDmAx3ahG7/HoreCLIuIBUmUpH +8OyyBEYFoun9QeCbn/JEks7zzvm8V2/CjebPttNjDIiWFW/8xKQkf/5oKrbLPHzulOv9P bigjTSNrDV9LncchXcbvFQl/XrzsZXFzh9OZG+DsNfZ043mav6fxSawvvOg2b/pAZZ/8Dx rMby/Dx5XTBG+bzSMP8TRQWkY8gcAkzGJuHq6vlZG/u/uXKR21QTw8rahOAkkw== From: Matthias Fischer To: development@lists.ipfire.org Cc: Matthias Fischer Subject: [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed Date: Sat, 20 Jun 2026 18:34:00 +0200 Message-ID: <20260620163416.2908-1-matthias.fischer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -- 2.53.0