Systemd service dir is /usr/lib/systemd/system
https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ endif()
|
|||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/biboumi.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 OPTIONAL COMPONENT documentation)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/biboumi.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 OPTIONAL COMPONENT documentation)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/biboumi.service DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/system COMPONENT init)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/biboumi.service DESTINATION /usr/lib/systemd/system COMPONENT init)
|
||||||
file(GLOB policy_files conf/*policy.txt)
|
file(GLOB policy_files conf/*policy.txt)
|
||||||
install(FILES ${policy_files} DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/biboumi COMPONENT configuration)
|
install(FILES ${policy_files} DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/biboumi COMPONENT configuration)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user