2018-05-06 18:58:51 +01:00
|
|
|
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
|
2021-04-22 23:56:40 +01:00
|
|
|
index a04b80c..2969b3b 100644
|
2018-05-06 18:58:51 +01:00
|
|
|
--- a/src/daemon/CMakeLists.txt
|
|
|
|
+++ b/src/daemon/CMakeLists.txt
|
2021-04-22 23:56:40 +01:00
|
|
|
@@ -437,7 +437,7 @@ if ("${CKB_NEXT_INIT_SYSTEM}" STREQUAL "launchd")
|
2019-04-26 12:41:13 +01:00
|
|
|
elseif ("${CKB_NEXT_INIT_SYSTEM}" STREQUAL "systemd")
|
2018-05-06 18:58:51 +01:00
|
|
|
install(
|
2019-04-26 12:41:13 +01:00
|
|
|
FILES "${CMAKE_CURRENT_BINARY_DIR}/service/ckb-next-daemon.service"
|
2021-04-22 23:56:40 +01:00
|
|
|
- DESTINATION "${SYSTEMD_UNIT_INSTALL_DIR}"
|
2019-04-26 12:41:13 +01:00
|
|
|
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/systemd/system"
|
|
|
|
PERMISSIONS
|
|
|
|
OWNER_READ OWNER_WRITE
|
|
|
|
GROUP_READ
|