Commit 757b2d5
committed
perf: optimize systemd services startup and cleanup dependencies
- Change dde-shell and dde-shell-plugin services to Type=dbus and specify BusName to ensure correct startup order.
- Remove obsolete application manager dependencies and comments in dde-shell service.
- Use ConditionEnvironment in dde-session@x11 service and consolidate ExecStartPre for better performance.
- 将 dde-shell 和 dde-shell-plugin 服务类型改为 Type=dbus 并指定 BusName,确保正确的启动顺序。
- 移除 dde-shell 服务中过时的应用管理器依赖及注释。
- 在 dde-session@x11 服务中改用 ConditionEnvironment 并合并 ExecStartPre 以提升性能。
Log: optimize systemd services startup and cleanup dependencies
Pms: TASK-384099
Change-Id: I75754a0dd09172d891237955456d881a86cee34b1 parent c3fb674 commit 757b2d5
File tree
3 files changed
+8
-19
lines changed- systemd
- dde-session-core.target.wants
- dde-session-pre.target.wants
3 files changed
+8
-19
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
22 | 18 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 19 | | |
29 | 20 | | |
30 | | - | |
| 21 | + | |
| 22 | + | |
31 | 23 | | |
32 | 24 | | |
33 | 25 | | |
| |||
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
0 commit comments