Skip to content
This repository was archived by the owner on Nov 8, 2026. It is now read-only.

Commit bc4603e

Browse files
techmoreclaude
andauthored
wingpanel: KillMode=process so restarting the panel keeps its apps (#662)
Apps opened from the panel live in pantheon-wingpanel.service's cgroup; with the default control-group kill mode, any panel restart (including install-network-throughput.sh and activate-t3-panel.sh) also killed them, e.g. Messages and transmission-daemon. Same fix as the dock drop-in. Verified with a user drop-in: restarting the panel freed 1.6 GiB of stale heap and Messages and transmission-daemon kept running. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 603aa60 commit bc4603e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎mseries/pantheon-rust-compositor/session/usr/lib/systemd/user/pantheon-wingpanel.service‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ ExecStart=/usr/bin/io.elementary.wingpanel
1717
Restart=on-failure
1818
RestartSec=2s
1919
TimeoutStopSec=5s
20+
# Apps opened from the panel (Applications menu, indicators) live in this unit's
21+
# cgroup. Restarting or replacing the panel must end only the panel, not them.
22+
KillMode=process

0 commit comments

Comments
 (0)