mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-12 02:34:59 +03:00
Fix systemd unit file generation
This commit is contained in:
@ -41,11 +41,6 @@ if(UNIX)
|
||||
|
||||
install_wrapper_script("vpnserver")
|
||||
if(NOT "${CMAKE_INSTALL_SYSTEMD_UNITDIR}" STREQUAL "")
|
||||
configure_file(${TOP_DIRECTORY}/systemd/softether-vpnserver.service ${CMAKE_BINARY_DIR}/systemd/softether-vpnserver.service)
|
||||
install(FILES ${CMAKE_BINARY_DIR}/systemd/softether-vpnserver.service
|
||||
COMPONENT "vpnserver"
|
||||
DESTINATION ${CMAKE_INSTALL_SYSTEMD_UNITDIR}
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
|
||||
)
|
||||
install_unit_file("vpnserver")
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user