cmake: changed target location of mbusd@service to /lib/systemd/system

This commit is contained in:
Nick 2017-11-29 22:08:58 +01:00
parent b8cd322650
commit 16dbcd7324

View File

@ -58,7 +58,7 @@ if(HAVE_SYSTEMD)
set(bindir ${CMAKE_INSTALL_FULL_BINDIR})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/systemd-units/mbusd@.service.in mbusd@service)
install(FILES mbusd.service DESTINATION /usr/lib/systemd/user/)
install(FILES mbusd.service DESTINATION /lib/systemd/system)
#TODO install a default ${CMAKE_CURRENT_SOURCE_DIR}/conf/mbusd.conf ??
endif()