From bc30bd87d4f4b5ffdb1799a2c0d517230f90a16b Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Mon, 18 Mar 2024 21:32:29 +0100 Subject: [PATCH] Fix Systemd unit install location The Systemd unit file should be installed relative to the install prefix, not at an absolute path. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d458b210d4..e7fcf641cf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -269,7 +269,7 @@ if(ENABLE_DAEMON) DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" ) install(FILES "${CMAKE_SOURCE_DIR}/contrib/init/gridcoinresearchd.service" - DESTINATION /lib/systemd/system + DESTINATION "lib/systemd/system" ) endif() endif()