2023-08-30 11:53:49 +08:00
|
|
|
# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Deepin Application Manager
|
2023-09-06 11:18:16 +08:00
|
|
|
RefuseManualStart=no
|
|
|
|
RefuseManualStop=no
|
|
|
|
StartLimitBurst=3
|
|
|
|
CollectMode=inactive-or-failed
|
|
|
|
|
2023-09-15 17:14:58 +08:00
|
|
|
Requisite=dde-session-pre.target
|
|
|
|
After=dde-session-pre.target
|
|
|
|
|
2023-09-06 11:18:16 +08:00
|
|
|
Requisite=dde-session-initialized.target
|
|
|
|
PartOf=dde-session-initialized.target
|
|
|
|
Before=dde-session-initialized.target
|
2023-08-30 11:53:49 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=dbus
|
2023-09-01 16:11:39 +08:00
|
|
|
BusName=org.desktopspec.ApplicationManager1
|
2023-10-30 10:02:51 +08:00
|
|
|
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/dde-application-manager
|
2023-08-30 13:11:15 +08:00
|
|
|
Environment=QT_LOGGING_RULES="*.debug=false"
|
2023-08-31 17:59:09 +08:00
|
|
|
# turn off PrivateUser to prevent AM can't access some directory. eg. "/persistent/linglong"
|
2023-09-06 11:18:16 +08:00
|
|
|
PrivateUsers=false
|
|
|
|
Slice=session.slice
|
|
|
|
Restart=always
|
|
|
|
RestartSec=500ms
|