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 4cL6VV3jN0z30Rl for ; Mon, 08 Sep 2025 12:59:46 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cL6VR0vclz2xHm for ; Mon, 08 Sep 2025 12:59:43 +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 4cL6VQ0bLQz1Pk; Mon, 08 Sep 2025 12:59:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757336382; 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=JlEhvUQx4cjzxPLpnrO703LMtGsdxtnkNdnR/GB4D60=; b=d6IPgu3iGI3UfkFJCoKShN/bbdRJ7WvTqoA3gdxHIPJB9GnH18acN/nL7W/j4KhuKrIuXj nQU0yEUQKQYtYyCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757336382; 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=JlEhvUQx4cjzxPLpnrO703LMtGsdxtnkNdnR/GB4D60=; b=HH3lfbKn8jgjtpdZAh8KCyZ+fa8nFhpVvMqBtwDj52DFN71gvDMDOaNdVOSr5v3g44/2on pHn1bElRFfpCWjublPSb21LvXxaUYUWOCWZ3eOfnpYiOlGUY7U5RscqclvzGCc/HMnk4xV BZzmHGHRv/Y1QHUSDcg+YJuRcxf8bR/IKCHJLCjqiP5wWgSWDKv8PT66+qDyWCDjWSd1K0 n4wniQ8iHYoY+UY5OeHezshrKGpvqcw2BZQwCcmqavi7ckY958bKwphVIFtV285cYose6r 6bA/0IdacTAzrpxddRy5Mwn2hg/k+l0lScXEIcP0N6/65Qrhx5eW84UuzanHow== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/2] update.sh: Update collectd.vpn to the new RW log file name Date: Mon, 8 Sep 2025 14:59:37 +0200 Message-ID: <20250908125938.3389609-1-adolf.belka@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: Adolf Belka --- config/rootfiles/core/197/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/197/update.sh b/config/rootfiles/core/197/update.sh index 0fd5cc6f0..0c5e226eb 100644 --- a/config/rootfiles/core/197/update.sh +++ b/config/rootfiles/core/197/update.sh @@ -125,6 +125,11 @@ ldconfig # Update the OpenVPN configuration sudo -u nobody /srv/web/ipfire/cgi-bin/ovpnmain.cgi +# Replace the OpenVPN RW log name in collectd.vpn +if grep -q "/var/run/ovpnserver.log" /var/ipfire/ovpn/collectd.vpn; then + sed -i 's|"/var/run/ovpnserver.log"|"/var/run/openvpn-rw.log"|' /var/ipfire/ovpn/collectd.vpn +fi + # Apply SSH configuration /usr/local/bin/sshctrl -- 2.51.0