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>
(cherry picked from commit 7105e65cd6
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7d7afdf58c
commit
45f75fb357
@ -68,4 +68,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