On Mon, 25 Apr 2022 16:45:41 -0400
Jonathan Billings wrote:
if you want it to, it will terminate all user processes *for that
session* when it logs out
This only recently started working moderately well. If I ever ssh'ed into
my desktop for a separate login session, systemd would create some sort
of systemd user daemon that would hang around forever even after I
logged out of the ssh session. Then when I tried to reboot the system,
it would take something like 5 minutes to timeout waiting for the
user daemon to terminate. I think it is finally better now, but it took
years. I started using my own special reboot script that would search
for and kill all systemd user daemons before trying to reboot :-).