diff options
| author | 2026-06-05 11:06:01 +0100 | |
|---|---|---|
| committer | 2026-06-05 11:06:01 +0100 | |
| commit | 9ec3c16d06acc3c496634f4952e1f8dc73a7de1c (patch) | |
| tree | e7a45a0139e8b1d820d3e65480368822218eb3dd /dot_config/git/hooks | |
| parent | 67ab075d1dc12b2280cec38e39ca7d2df45642df (diff) | |
| download | dotfiles-9ec3c16d06acc3c496634f4952e1f8dc73a7de1c.tar.gz dotfiles-9ec3c16d06acc3c496634f4952e1f8dc73a7de1c.tar.bz2 dotfiles-9ec3c16d06acc3c496634f4952e1f8dc73a7de1c.zip | |
fix(systemd): drop StopWhenUnneeded from sway-session.target
The target reached active then was immediately garbage-collected:
Reached target sway compositor session
Stopped target sway compositor session
Stopping swayr.../Waybar...
Nothing holds a reverse dependency on sway-session.target, so the first
"stop unneeded units" pass (triggered when any Wanted service transitions,
e.g. a ConditionEnvironment skip during the env-import race) found it
unneeded and StopWhenUnneeded=yes tore it down, cascading via PartOf/
BindsTo to every session service. Manual `systemctl --user start` worked
because that starts the service directly, not the GC-prone target.
StopWhenUnneeded has been latent since 030848c; the nix migration's
changed startup timing exposed it. The canonical sway-session.target
omits it; teardown still works via BindsTo=graphical-session.target and
user-manager shutdown at logout (swaymsg exit).
Diffstat (limited to 'dot_config/git/hooks')
0 files changed, 0 insertions, 0 deletions
