[DEV,2/3] services.cgi: Allow the openvpn-rw status to be shown in the Services WUI page

Message ID 20241214174718.22140-2-adolf.belka@ipfire.org
State New
Headers
Series [DEV,1/3] ovpnmain.cgi: Allow the openvpn-rw status to be shown in openvpn WUI |

Commit Message

Adolf Belka Dec. 14, 2024, 5:47 p.m. UTC
  - 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@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 html/cgi-bin/services.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

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",
 		}
 	});