fix: duplicate systemd service
Use Dbus type service, and place it in the app.slice
This commit is contained in:
@ -1,8 +1,16 @@
|
||||
[Unit]
|
||||
Description=DDE Application Manager service
|
||||
RefuseManualStart=no
|
||||
RefuseManualStop=no
|
||||
OnFailureJobMode=replace-irreversibly
|
||||
CollectMode=inactive-or-failed
|
||||
StartLimitIntervalSec=10s
|
||||
StartLimitBurst=30
|
||||
|
||||
[Service]
|
||||
Type=DBus
|
||||
Type=dbus
|
||||
BusName=org.deepin.dde.Application1.Manager
|
||||
ExecStart=/usr/bin/dde-application-manager
|
||||
Slice=services.slice
|
||||
Slice=app.slice
|
||||
Restart=on-failure
|
||||
RestartSec=300ms
|
||||
|
Reference in New Issue
Block a user