Skip to contentSkip to conversation

Update documentation references in systemd unit files

PATCH In review Frank Lichtenheld 2 participants 2 messages Mar 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update documentation references in systemd unit files

From: Christoph Schug <[email protected]...>

The systemd unit files for both client and server were referencing outdated documentation as they were hard-coded to the OpenVPN 2.4.x release branch.

Change-Id Iee289aa5df9ee0e9a03c0dc562e45dd39836e794
---
 distro/systemd/Makefile.am                | 5 ++++-
 distro/systemd/[email protected]... | 2 +-
 distro/systemd/[email protected]... | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)
distro/systemd/Makefile.am +4 -1
index 7e8f4753..d1c903f2 100644
@@ -9,7 +9,10 @@
 #
 
 %.service: %.service.in Makefile
-	$(AM_V_GEN)sed -e 's|\@sbindir\@|$(sbindir)|' \
+	$(AM_V_GEN)sed \
+		-e 's|\@OPENVPN_VERSION_MAJOR\@|$(OPENVPN_VERSION_MAJOR)|g' \
+		-e 's|\@OPENVPN_VERSION_MINOR\@|$(OPENVPN_VERSION_MINOR)|g' \
+		-e 's|\@sbindir\@|$(sbindir)|g' \
 		$< > [email protected] && mv [email protected] $@
 
 EXTRA_DIST = \
distro/systemd/[email protected]... +1 -1
index 159fb4dc..15c82fad 100644
@@ -3,7 +3,7 @@ Description=OpenVPN tunnel for %I
 After=syslog.target network-online.target
 Wants=network-online.target
 Documentation=man:openvpn(8)
-Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
+Documentation=https://openvpn.net/community-resources/[email protected]...@[email protected]...@/
 Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
 
 [Service]
distro/systemd/[email protected]... +1 -1
index 6e8e7d94..b26d976b 100644
@@ -3,7 +3,7 @@ Description=OpenVPN service for %I
 After=syslog.target network-online.target
 Wants=network-online.target
 Documentation=man:openvpn(8)
-Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
+Documentation=https://openvpn.net/community-resources/[email protected]...@[email protected]...@/
 Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
 
 [Service]
Signature · 1 line
2.34.1
#1 lore raw

Your patch has been applied to the master and release/2.6 branch.

commit f65c656ac034a99cca09557eeb9337e7c00a7e73 (master) commit c6a61b84fdec825b0b4855d8cd12afa9ebeec43e (release/2.6)

Author: Christoph Schug
Date:   Fri Mar 8 15:03:46 2024 +0100
     Update documentation references in systemd unit files

     Signed-off-by: Christoph Schug <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg28369.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering