From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [DEV PATCH 1/3] ovpnmain.cgi: Allow the openvpn-rw status to be shown in openvpn WUI
Date: Sat, 14 Dec 2024 18:47:16 +0100 [thread overview]
Message-ID: <20241214174718.22140-1-adolf.belka@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1612 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 OpenVPN WUI page
Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
html/cgi-bin/ovpnmain.cgi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
mode change 100755 => 100644 html/cgi-bin/ovpnmain.cgi
diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
old mode 100755
new mode 100644
index bd102f4bc..843edc519
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -2,7 +2,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2023 IPFire Team <info(a)ipfire.org> #
+# Copyright (C) 2007-2024 IPFire Team <info(a)ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -5063,8 +5063,8 @@ END
# Show the service status
&Header::ServiceStatus({
$Lang::tr{'ovpn roadwarrior server'} => {
- "process" => "openvpn",
- "pidfile" => "/var/run/openvpn.pid",
+ "process" => "openvpn-rw",
+ "pidfile" => "/var/run/openvpn-rw.pid"
}
});
--
2.47.1
next 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 Adolf Belka [this message]
2024-12-14 17:47 ` [DEV PATCH 2/3] services.cgi: Allow the openvpn-rw status to be shown in the Services WUI page Adolf Belka
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-1-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