Update documentation references in systemd unit files

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.

Github: closes OpenVPN/openvpn#457

Change-Id: Iee289aa5df9ee0e9a03c0dc562e45dd39836e794
Signed-off-by: Christoph Schug <com+github@schug.net>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240308140346.4058419-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28369.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
Christoph Schug 2024-03-08 15:03:46 +01:00 committed by Gert Doering
parent ad39f99f27
commit f65c656ac0
3 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,10 @@
# #
%.service: %.service.in Makefile %.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' \
$< > $@.tmp && mv $@.tmp $@ $< > $@.tmp && mv $@.tmp $@
EXTRA_DIST = \ EXTRA_DIST = \

View File

@ -3,7 +3,7 @@ Description=OpenVPN tunnel for %I
After=network-online.target After=network-online.target
Wants=network-online.target Wants=network-online.target
Documentation=man:openvpn(8) Documentation=man:openvpn(8)
Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage Documentation=https://openvpn.net/community-resources/reference-manual-for-openvpn-@OPENVPN_VERSION_MAJOR@-@OPENVPN_VERSION_MINOR@/
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
[Service] [Service]

View File

@ -3,7 +3,7 @@ Description=OpenVPN service for %I
After=network-online.target After=network-online.target
Wants=network-online.target Wants=network-online.target
Documentation=man:openvpn(8) Documentation=man:openvpn(8)
Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage Documentation=https://openvpn.net/community-resources/reference-manual-for-openvpn-@OPENVPN_VERSION_MAJOR@-@OPENVPN_VERSION_MINOR@/
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
[Service] [Service]