From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] wio: Update openvpn.pid to openvpn-rw.pid
Date: Mon, 15 Sep 2025 14:07:24 +0200 [thread overview]
Message-ID: <20250915120724.2593987-1-adolf.belka@ipfire.org> (raw)
- This change was needed together with the log file name change to have wio show the
openvpn statuses.
- Tested and confirmed on my vm testbed.
- Will leave it to be decided if this gets merged into CU197 Testing or waits for CU198
Either is fine for me.
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/wio/wio.pl | 2 +-
config/wio/wiovpn.pl | 2 +-
html/cgi-bin/wio.cgi | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/wio/wio.pl b/config/wio/wio.pl
index 78c91eeb9..8efbe600f 100644
--- a/config/wio/wio.pl
+++ b/config/wio/wio.pl
@@ -82,7 +82,7 @@ if ( -e $rediface ) {
my $redip = $hostname;
my $vpnpid = ( -e "/var/run/charon.pid" ? `awk '{print $1}' /var/run/charon.pid`: '');
-my $ovpnpid = ( -e "/var/run/openvpn.pid" ? `awk '{print $1}' /var/run/openvpn.pid`: '');
+my $ovpnpid = ( -e "/var/run/openvpn-rw.pid" ? `awk '{print $1}' /var/run/openvpn-rw.pid`: '');
my $steptime = $wiosettings{'CRON'} *= 60;
my $i_ping = 'icmp';
diff --git a/config/wio/wiovpn.pl b/config/wio/wiovpn.pl
index 80b020dc9..279b858b4 100644
--- a/config/wio/wiovpn.pl
+++ b/config/wio/wiovpn.pl
@@ -51,7 +51,7 @@ my $logging = $wiosettings{'LOGGING'};
my ( @ovpnstatus, @ovpncfg, @ovpncache, @ovpnarray, @ovpnmatch, @ovpnwrite );
my $now = strftime "%a, %d.%m.%Y %H:%M:%S", localtime;
-my $ovpnpid = "/var/run/openvpn.pid";
+my $ovpnpid = "/var/run/openvpn-rw.pid";
my $ovpnmailmsg = '';
my $ovpncache = "/var/log/wio/.ovpncache";
my $ovpnconfig = "/var/ipfire/ovpn/ovpnconfig";
diff --git a/html/cgi-bin/wio.cgi b/html/cgi-bin/wio.cgi
index d988ec597..9975c294d 100644
--- a/html/cgi-bin/wio.cgi
+++ b/html/cgi-bin/wio.cgi
@@ -84,7 +84,7 @@ my $rrddir = "/var/log/rrd/wio";
my $refreshbox = '<meta http-equiv="refresh" content="0;url=/cgi-bin/wio.cgi">';
my $sortstring = '^IPADR|^HOST';
my $ovpnaddon = "/var/ipfire/ovpn";
-my $ovpnpid = "/var/run/openvpn.pid";
+my $ovpnpid = "/var/run/openvpn-rw.pid";
my $vpnpid = "/var/run/charon.pid";
my $redactive = "/var/ipfire/red/active";
my $redip = '-';
--
2.51.0
reply other threads:[~2025-09-15 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20250915120724.2593987-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