systemd: install service file to the system units directory

Just /usr/lib/systemd isn't valid, it needs to be a system or user unit.
In our case a system unit is the right choice.
This commit is contained in:
Bart Ribbers 2025-11-25 12:05:27 +01:00
parent 6c0898fab2
commit cd315ee8bb

View file

@ -169,6 +169,6 @@ ki18n_install(po)
if (INSTALL_SYSTEMD_SERVICE) if (INSTALL_SYSTEMD_SERVICE)
install(FILES install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/plasma-mobile.service ${CMAKE_CURRENT_SOURCE_DIR}/plasma-mobile.service
DESTINATION ${KDE_INSTALL_SYSTEMDUNITDIR} DESTINATION ${KDE_INSTALL_SYSTEMDUNITDIR}/system
) )
endif() endif()