refact: remove unnecessary open operation
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>
This commit is contained in:
@ -11,3 +11,5 @@ 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"
|
||||
|
Reference in New Issue
Block a user