]> git.ipfire.org Git - thirdparty/openvpn.git/commit
systemd: Use automake tools to install unit files
authorChristian Hesse <mail@eworm.de>
Tue, 24 Jan 2017 14:39:46 +0000 (15:39 +0100)
committerDavid Sommerseth <davids@openvpn.net>
Wed, 25 Jan 2017 18:39:42 +0000 (19:39 +0100)
commitca5b4c2aad2370be7862660d274b7485f2d0af71
treed3272131b728ee9430f0fda7195dd9c72dabc5c8
parente83a8684f0a0d944e9d53cdad2b543cfd1b6fbae
systemd: Use automake tools to install unit files

If systemd is enabled we install unit files to $libdir/systemd/system
(or the path specified by SYSTEMD_UNIT_DIR).
The unit files are generated on the fly with matching $sbindir.

Signed-off-by: Christian Hesse <mail@eworm.de>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <20170124143947.27385-1-list@eworm.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13940.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
.gitignore
configure.ac
distro/Makefile.am
distro/systemd/Makefile.am [new file with mode: 0644]
distro/systemd/openvpn-client@.service.in [moved from distro/systemd/openvpn-client@.service with 90% similarity]
distro/systemd/openvpn-server@.service.in [moved from distro/systemd/openvpn-server@.service with 91% similarity]