package/openvpn: adds target install of systemd unit files
Signed-off-by: Edmundo Ferreira <fc.edmundo@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
4be06fa8aa
commit
7105e65cd6
@ -79,4 +79,11 @@ define OPENVPN_INSTALL_INIT_SYSV
|
||||
$(TARGET_DIR)/etc/init.d/S60openvpn
|
||||
endef
|
||||
|
||||
define OPENVPN_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 $(@D)/distro/systemd/openvpn-client@.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/openvpn-client@.service
|
||||
$(INSTALL) -D -m 0644 $(@D)/distro/systemd/openvpn-server@.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/openvpn-server@.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user