diff --git a/misc/CMakeLists.txt b/misc/CMakeLists.txt index 83cb383c..dbebc23b 100644 --- a/misc/CMakeLists.txt +++ b/misc/CMakeLists.txt @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. +# SPDX-FileCopyrightText: 2023 - 2026 UnionTech Software Technology Co., Ltd. # # SPDX-License-Identifier: LGPL-3.0-or-later include(GNUInstallDirs) @@ -30,7 +30,7 @@ install(FILES ${SYSTEMD_USER_FILE} DESTINATION ${SERVICE_DEST_PATH}) install(FILES ${SYSTEMD_USER_DROP_IN_FILE} DESTINATION ${SERVICE_DEST_PATH}/app-DDE-.service.d) # create a symlink to dde-session -install_symlink(org.desktopspec.ApplicationManager1.service dde-session-core.target.wants) +install_symlink(org.desktopspec.ApplicationManager1.service dde-session-pre.target.wants) # dde-autostart service configure_file( diff --git a/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in b/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in index fbd37cca..030a613d 100644 --- a/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in +++ b/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in @@ -7,11 +7,8 @@ Description=Deepin Application Manager StartLimitBurst=3 CollectMode=inactive-or-failed -Requisite=dde-session-pre.target -After=dde-session-pre.target - -PartOf=dde-session-core.target -Before=dde-session-core.target +PartOf=dde-session-pre.target +Before=dde-session-pre.target [Service] Type=dbus