chore!: change service name of AM

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-09-01 16:11:39 +08:00
committed by Comix
parent 94f7b3c01d
commit cb8b98c980
3 changed files with 9 additions and 9 deletions

View File

@ -5,26 +5,26 @@ include(GNUInstallDirs)
# # systemd service
configure_file(
systemd/user/org.deepin.dde.ApplicationManager1.service.in
systemd/user/org.deepin.dde.ApplicationManager1.service
systemd/user/org.desktopspec.ApplicationManager1.service.in
systemd/user/org.desktopspec.ApplicationManager1.service
@ONLY
)
set(SYSTEMD_USER_FILE
${CMAKE_CURRENT_BINARY_DIR}/systemd/user/org.deepin.dde.ApplicationManager1.service
${CMAKE_CURRENT_BINARY_DIR}/systemd/user/org.desktopspec.ApplicationManager1.service
)
install(FILES ${SYSTEMD_USER_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/user/)
# # dbus activate
configure_file(
dbus/org.deepin.dde.ApplicationManager1.service.in
dbus/org.deepin.dde.ApplicationManager1.service
dbus/org.desktopspec.ApplicationManager1.service.in
dbus/org.desktopspec.ApplicationManager1.service
@ONLY
)
set(DBUS_APPLICATION_MANAGER_SERVICE_FILE
${CMAKE_CURRENT_BINARY_DIR}/dbus/org.deepin.dde.ApplicationManager1.service
${CMAKE_CURRENT_BINARY_DIR}/dbus/org.desktopspec.ApplicationManager1.service
)
# install to session service directory for now

View File

@ -3,6 +3,6 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
[D-BUS Service]
Name=org.deepin.dde.ApplicationManager1
Name=org.desktopspec.ApplicationManager1
Exec=@CMAKE_INSTALL_FULL_BINDIR@/dde-application-manager-reborn
SystemdService=org.deepin.dde.ApplicationManager1.service
SystemdService=org.desktopspec.ApplicationManager1.service

View File

@ -7,7 +7,7 @@ Description=Deepin Application Manager
[Service]
Type=dbus
BusName=org.deepin.dde.ApplicationManager1
BusName=org.desktopspec.ApplicationManager1
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/dde-application-manager-reborn
Restart=always
Environment=QT_LOGGING_RULES="*.debug=false"