From 96d08455a895ecaf0724759621460d23bb2656b6 Mon Sep 17 00:00:00 2001 From: Jackarain Date: Fri, 20 Sep 2024 11:21:13 +0800 Subject: [PATCH] Update cmake for systemd service install --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cce5f3665d..2d8b7a5fcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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/) \ No newline at end of file +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/proxy-server@.service DESTINATION /usr/lib/systemd/system/) \ No newline at end of file