Processes started from an SSH session (e.g. `tmux`) get killed when the user logs out on a newer distro.
AdvancedTroubleshootingsystemd services and journald
Answer
Likely causes → KillUserProcesses=yes in /etc/systemd/logind.conf kills all processes in the session scope at logout.
Diagnose →
grep -i KillUserProcesses /etc/systemd/logind.conf
loginctl show-session $XDG_SESSION_ID
Fix → Set KillUserProcesses=no (or add users to KillExcludeUsers=), restart systemd-logind carefully, or run long tasks with systemd-run --user --scope plus linger.
Prevent → Run long-lived work as services, not inside interactive sessions.
More on systemd services and journald
`systemctl status myapp` shows `Main process exited, code=exited, status=203/EXEC`.BeginnerA service fails with `status=217/USER`.BeginnerA service fails with `status=200/CHDIR`.BeginnerA unit fails with `status=226/NAMESPACE`.AdvancedYou edited a unit file, restarted the service, but the old behaviour persists. `systemctl status` shows `Warning: The unit file, source configuration file or drop-ins of myapp.service changed on disk`.BeginnerYou edited `/usr/lib/systemd/system/nginx.service` directly and after a package update your change vanished.Beginner