diff options
Diffstat (limited to 'chapter07/systemd-custom.xml')
-rw-r--r-- | chapter07/systemd-custom.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/chapter07/systemd-custom.xml b/chapter07/systemd-custom.xml index 31f518ff2..8bf66999f 100644 --- a/chapter07/systemd-custom.xml +++ b/chapter07/systemd-custom.xml @@ -21,8 +21,8 @@ of options to control basic systemd operations. The default file has all entries commented out with the default settings indicated. This file is where the log level may be changed as well as some basic logging settings. - See <filename>systemd-system.conf(5)</filename> manual page for details on - each configuration option.</para> + See the <filename>systemd-system.conf(5)</filename> manual page for details + on each configuration option.</para> </sect2> @@ -212,21 +212,21 @@ EOF</userinput></screen> <sect2> <title>Long Running Processes</title> - <para>Beginning with systemd-230, all user processes are killed when a - user session is ended, even if nohup is used, or the process uses - <function>daemon()</function> or <function>setsid()</function>. This is a - deliberate change from a historically permissive environment to a more - restrictive one. The new behavior may cause issues if you depend on long - running programs (e.g., <command>screen</command> or - <command>tmux</command>) to remain active after ending your user - session. There are three ways to enable lingering processes to remain after - a user session is ended.</para> + <para>Beginning with systemd-230, all user processes are killed when a user + session is ended, even if nohup is used, or the process uses the + <function>daemon()</function> or <function>setsid()</function> functions. + This is a deliberate change from a historically permissive environment to a + more restrictive one. The new behavior may cause issues if you depend on + long running programs (e.g., <command>screen</command> or + <command>tmux</command>) to remain active after ending your user session. + There are three ways to enable lingering processes to remain after a user + session is ended.</para> <itemizedlist> <listitem> <para> - <emphasis>Enable process lingering for only needed users</emphasis>: - normal users have permission to enable process lingering + <emphasis>Enable process lingering for only selected users</emphasis>: + Normal users have permission to enable process lingering with the command <command>loginctl enable-linger</command> for their own user. System administrators can use the same command with a <parameter>user</parameter> argument to enable for a user. That user @@ -244,7 +244,7 @@ EOF</userinput></screen> <listitem> <para> <emphasis>Enable system-wide process lingering</emphasis>: - you can set <parameter>KillUserProcesses=no</parameter> in + You can set <parameter>KillUserProcesses=no</parameter> in <filename>/etc/logind.conf</filename> to enable process lingering globally for all users. This has the benefit of leaving the old method available to all users at the expense of explicit control. |