From ed2c6c40851b2c8cdd20b3a99c1f823898bdd055 Mon Sep 17 00:00:00 2001 From: luk1337 Date: Tue, 24 Sep 2024 01:32:25 +0200 Subject: [PATCH] fix: Use non-lib64 systemd system unit dir path (#7115) This is a common path across Linux distros. Checked distros: * Arch Linux * Fedora * Gentoo * openSUSE * Ubuntu --- daemon/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index bad22a479..b67473ded 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -56,6 +56,6 @@ foreach(P daemon) if (WITH_SYSTEMD) install( FILES ${TR_NAME}-${P}.service - DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/system) + DESTINATION lib/systemd/system) endif() endforeach()