From patchwork Sat Dec 14 17:47:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8327 Return-Path: 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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Y9YZg00rNz3wxp for ; Sat, 14 Dec 2024 17:47:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Y9YZS05Lcz4Y8; Sat, 14 Dec 2024 17:47:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Y9YZQ6XpJz3419; Sat, 14 Dec 2024 17:47:42 +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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Y9YZN1Pq7z2xLw for ; Sat, 14 Dec 2024 17:47:40 +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 4Y9YZM64j7z1K2; Sat, 14 Dec 2024 17:47:39 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1734198459; 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: in-reply-to:in-reply-to:references:references; bh=HbtXYpm9N6uZY2k3yMB5NxLZTCwcj5ST2Q4vDJamcBM=; b=18RA/JW/zgwHTeNYtUHu4BEcW6R2knt0CmJeahNYwZJKwIBj7U6k4sYSng8ImAGSJf4I8T 8GSg+lH63YJwN+Aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1734198459; 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: in-reply-to:in-reply-to:references:references; bh=HbtXYpm9N6uZY2k3yMB5NxLZTCwcj5ST2Q4vDJamcBM=; b=HTmZtim+CbDUZZBK/PEOgM2izTv+eaDKeVTNE8Z/B0KvFqwH0B0Y20sKo2G/aQ7nd2sfLZ ZX/5FflIJqbfkBi7nhBxL2Mo6/kHGiawXtX0h0NFLw57n89IP2dJqBJCH/ffDoN15RuTld bciM/J84rQMeuemcQhd4Bq7xNKydZChL3hKMmCNr+MzdiznuMsWKK3zF4+BHlYWYy/hW63 h+a0aREA7cFRbBNPKEjqDGFHiStOViFmavZxSoZIIUSuAPZ6ZuwQ9gpg7kzrDVkYm+FcAK It4TOc4pCQWkJcC4qdANqyFoNndQPoLwz7bKQFYZHdoBoDiSzSBZN2JNaEVoJw== From: Adolf Belka To: development@lists.ipfire.org Subject: [DEV PATCH 2/3] services.cgi: Allow the openvpn-rw status to be shown in the Services WUI page Date: Sat, 14 Dec 2024 18:47:17 +0100 Message-ID: <20241214174718.22140-2-adolf.belka@ipfire.org> In-Reply-To: <20241214174718.22140-1-adolf.belka@ipfire.org> References: <20241214174718.22140-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: QAEY5ICEYC6TMPFUCVTS3FO57XSE5HBC X-Message-ID-Hash: QAEY5ICEYC6TMPFUCVTS3FO57XSE5HBC X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - The main openvpn process name has been changed to openvpn-rw. This change is needed so that if openvpn-rw is running the status shows that on the Services WUI page Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- html/cgi-bin/services.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index a3ae13c78..734f08e11 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -113,8 +113,8 @@ $querry[1] = 'hour' unless defined $querry[1]; # OpenVPN Roadwarrior $Lang::tr{'ovpn roadwarrior server'} => { - "process" => "openvpn", - "pidfile" => "/var/run/openvpn.pid", + "process" => "openvpn-rw", + "pidfile" => "/var/run/openvpn-rw.pid", } });