fix AM can't access some dirs due to systemd 254's sandboxing option: PrivateUser is true by default. Signed-off-by: ComixHe <heyuming@deepin.org>
16 lines
470 B
SYSTEMD
16 lines
470 B
SYSTEMD
# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
[Unit]
|
|
Description=Deepin Application Manager
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.deepin.dde.ApplicationManager1
|
|
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/dde-application-manager-reborn
|
|
Restart=always
|
|
Environment=QT_LOGGING_RULES="*.debug=false"
|
|
PrivateUsers=false
|
|
# turn off PrivateUser to prevent AM can't access some directory. eg. "/persistent/linglong"
|