1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-16 04:35:01 +03:00

Fix systemd unit file generation

This commit is contained in:
Ron Isaacson
2020-06-30 01:22:37 -04:00
parent eeaac4e78c
commit 40ed982079
7 changed files with 36 additions and 33 deletions

View File

@ -41,11 +41,6 @@ if(UNIX)
install_wrapper_script("vpnbridge")
if(NOT "${CMAKE_INSTALL_SYSTEMD_UNITDIR}" STREQUAL "")
configure_file(${TOP_DIRECTORY}/systemd/softether-vpnbridge.service ${CMAKE_BINARY_DIR}/systemd/softether-vpnbridge.service)
install(FILES ${CMAKE_BINARY_DIR}/systemd/softether-vpnbridge.service
COMPONENT "vpnbridge"
DESTINATION ${CMAKE_INSTALL_SYSTEMD_UNITDIR}
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
install_unit_file("vpnbridge")
endif()
endif()