public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
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	[thread overview]
Message-ID: <20241214174718.22140-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20241214174718.22140-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

- 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 <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 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",
 		}
 	});
 
-- 
2.47.1


  reply	other threads:[~2024-12-14 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-14 17:47 [DEV PATCH 1/3] ovpnmain.cgi: Allow the openvpn-rw status to be shown in openvpn WUI Adolf Belka
2024-12-14 17:47 ` Adolf Belka [this message]
2024-12-14 17:47 ` [DEV PATCH 3/3] openvpn-rw: Correct typo in openvpn-rw initscript Adolf Belka
2024-12-14 18:04 ` [DEV PATCH 1/3] ovpnmain.cgi: Allow the openvpn-rw status to be shown in openvpn WUI Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241214174718.22140-2-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox