Skip to content

Commit 96d0845

Browse files
committed
Update cmake for systemd service install
1 parent dfd180c commit 96d0845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,6 @@ endif()
559559
################################################################################
560560
# 安装 proxy_server 服务
561561

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

0 commit comments

Comments
 (0)