Skip to content

Commit

Permalink
Update documentation references in systemd unit files
Browse files Browse the repository at this point in the history
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 #457

Change-Id: Iee289aa5df9ee0e9a03c0dc562e45dd39836e794
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]>
  • Loading branch information
cschug authored and cron2 committed Mar 8, 2024
1 parent ad39f99 commit f65c656
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion distro/systemd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
$< > $@.tmp && mv $@.tmp $@

EXTRA_DIST = \
Expand Down
2 changes: 1 addition & 1 deletion distro/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=OpenVPN tunnel for %I
After=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/reference-manual-for-openvpn-@OPENVPN_VERSION_MAJOR@-@OPENVPN_VERSION_MINOR@/
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO

[Service]
Expand Down
2 changes: 1 addition & 1 deletion distro/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=OpenVPN service for %I
After=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/reference-manual-for-openvpn-@OPENVPN_VERSION_MAJOR@-@OPENVPN_VERSION_MINOR@/
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO

[Service]
Expand Down

0 comments on commit f65c656

Please sign in to comment.