chore: incorrect service location

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe 2023-09-06 14:54:38 +08:00 committed by Comix
parent 7fa60d9b3d
commit 4ffe4bf1a8
5 changed files with 5 additions and 6 deletions

View File

@ -26,7 +26,7 @@ set(DBUS_APPLICATION_UPDATE_NOTIFIER_SERVICE_FILE
)
install(FILES ${DBUS_APPLICATION_UPDATE_NOTIFIER_SERVICE_FILE}
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/service)
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system-services)
install(FILES ${CMAKE_CURRENT_LIST_DIR}/dbus/org.desktopspec.ApplicationUpdateNotifier1.conf
DESTINATION /usr/share/dbus-1/system.d)

View File

@ -14,7 +14,6 @@ SPDX-License-Identifier: LGPL-3.0-or-later
<allow send_destination="org.desktopspec.ApplicationUpdateNotifier1"/>
<allow receive_sender="org.desktopspec.ApplicationUpdateNotifier1"/>
</policy>
<!-- Only allow @LINGLONG_USERNAME@ to invoke methods on the interfaces -->
<policy user="root">
<allow send_destination="org.desktopspec.ApplicationUpdateNotifier1"/>
</policy>

View File

@ -4,6 +4,6 @@
[D-BUS Service]
Name=org.desktopspec.ApplicationUpdateNotifier1
Exec=@CMAKE_INSTALL_FULL_BINDIR@/app-update-notifier
Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/deepin/application-manager/app-update-notifier
User=root
SystemdService=org.desktopspec.ApplicationUpdateNotifier1
SystemdService=org.desktopspec.ApplicationUpdateNotifier1.service

View File

@ -10,4 +10,4 @@ Type=dbus
User=root
Group=root
BusName=org.desktopspec.ApplicationUpdateNotifier1
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/app-update-notifier
ExecStart=@CMAKE_INSTALL_FULL_LIBEXECDIR@/deepin/application-manager/app-update-notifier

View File

@ -40,4 +40,4 @@ set(DBUS_APPLICATION_MANAGER_SERVICE_FILE
# install to session service directory for now
install(FILES ${DBUS_APPLICATION_MANAGER_SERVICE_FILE}
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/service)
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/services)