mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
systemd v250 added ExitType= which allows systemd to wait for all processes in the cgroup to exit before terminating the unit, instead of only the main pid. This has many uses, but for desktop applications in particular it allows self-restarting (forking) applications to correctly fork/restart and other background processes that may have been spawned to continue when their forked parent inevitably exits first (like ssh processes inside terminals). Signed-off-by: Joe Groocock <me@frebib.net>