Skip to content

Commit

Permalink
Update cmake for systemd service install
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Sep 20, 2024
1 parent dfd180c commit 96d0845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,6 @@ endif()
################################################################################
# 安装 proxy_server 服务

configure_file(proxy.service.in proxy.service)
configure_file(proxy.service.in proxy-server@.service)
install(TARGETS proxy_server RUNTIME DESTINATION bin)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/proxy.service DESTINATION /usr/lib/systemd/system/)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/proxy-server@.service DESTINATION /usr/lib/systemd/system/)

0 comments on commit 96d0845

Please sign in to comment.