Skip to content

Commit

Permalink
systemd: Do not kill user sessions by default
Browse files Browse the repository at this point in the history
From the manual page logind.conf(5):

> KillUserProcesses=
>     Takes a boolean argument. Configures whether the processes of a
>     user should be killed when the user logs out. If true, the scope
>     unit corresponding to the session and all processes inside that
>     scope will be terminated. If false, the scope is "abandoned", see
>     systemd.scope(5), and processes are not killed. Defaults to "yes",
>     but see the options KillOnlyUsers= and KillExcludeUsers= below.
>
>     In addition to session processes, user process may run under the
>     user manager unit user@.service. Depending on the linger settings,
>     this may allow users to run processes independent of their login
>     sessions. See the description of enable-linger in loginctl(1).
>
>     Note that setting KillUserProcesses=yes will break tools like
>     screen(1) and tmux(1), unless they are moved out of the session
>     scope. See example in systemd-run(1).
  • Loading branch information
pmenzel committed Mar 12, 2018
1 parent 2101a72 commit f3ea14f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd.be0
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ mee_configure() {
-Drootlibdir=/lib \
-Dsplit-usr=true \
-Dsysusers=false \
-Ddefault-kill-user-processes=false \
-Db_lto=false
}

Expand Down

0 comments on commit f3ea14f

Please sign in to comment.