Skip to content

Commit f0ab812

Browse files
committed
fix: update systemd service configurations
1. Removed StartLimitBurst=3 from both dde-shell services as it was unnecessary for desktop environment services 2. Changed restart policy from 'on-failure' to 'always' for dde- shell@DDE.service to ensure continuous operation 3. These changes improve service reliability and simplify configuration by removing redundant limits fix: 更新 systemd 服务配置 1. 从两个 dde-shell 服务中移除了 StartLimitBurst=3 参数,因为对桌面环境 服务来说没有必要 2. 将 dde-shell@DDE.service 的重启策略从 'on-failure' 改为 'always' 以确 保持续运行 3. 这些改动通过移除冗余限制提高了服务可靠性并简化了配置 pms:BUG-321773
1 parent 67a487c commit f0ab812

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

systemd/dde-session-initialized.target.wants/dde-shell-plugin@org.deepin.ds.desktop.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Description=dde-shell for desktop
33
RefuseManualStart=no
44
RefuseManualStop=no
5-
StartLimitBurst=3
65
CollectMode=inactive-or-failed
76

87
Requisite=dde-session-pre.target

systemd/dde-session-initialized.target.wants/dde-shell@DDE.service

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Description=dde-shell for DDE service
33
RefuseManualStart=no
44
RefuseManualStop=no
5-
StartLimitBurst=3
65
CollectMode=inactive-or-failed
76

87
Requisite=dde-session-pre.target
@@ -32,5 +31,5 @@ Type=simple
3231
ExecStart=/usr/bin/dde-shell -C %I --serviceName=org.deepin.dde.shell -d org.deepin.ds.desktop
3332
TimeoutStartSec=infinity
3433
Slice=session.slice
35-
Restart=on-failure
34+
Restart=always
3635
RestartSec=1s

0 commit comments

Comments
 (0)