r/linux • u/rain5 • May 28 '16
systemd developer asks tmux (and other programs) to add systemd specific code
https://github.com/tmux/tmux/issues/428
359
Upvotes
r/linux • u/rain5 • May 28 '16
View all comments
Show parent comment
-1
u/pabs May 29 '16
You can start a long-running command in a separate scope using
systemd-run --scope --user.Also you can toggle this behavior for individual users with the
loginctl enable-lingerandloginctl disable-lingercommands. You can also limit the affected users using theKillOnlyUsersandKillExcludeUsersoptions in/etc/systemd/logind.conf.I provided a complete list of options in an earlier comment.