Changeset 0d84af1 for chapter07/systemd-custom.xml
- Timestamp:
- 12/28/2017 03:52:38 AM (6 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 25332b5
- Parents:
- 9fde3e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/systemd-custom.xml
r9fde3e9 r0d84af1 22 22 entries commented out with the default settings indicated. This file is 23 23 where the log level may be changed as well as some basic logging settings. 24 See <filename>systemd-system.conf(5)</filename> manual page for details on25 each configuration option.</para>24 See the <filename>systemd-system.conf(5)</filename> manual page for details 25 on each configuration option.</para> 26 26 27 27 </sect2> … … 213 213 <title>Long Running Processes</title> 214 214 215 <para>Beginning with systemd-230, all user processes are killed when a 216 user session is ended, even if nohup is used, or the process uses217 <function>daemon()</function> or <function>setsid()</function> . This is a218 deliberate change from a historically permissive environment to a more219 restrictive one. The new behavior may cause issues if you depend on long220 running programs (e.g., <command>screen</command> or221 <command>tmux</command>) to remain active after ending your user 222 session. There are three ways to enable lingering processes to remain after223 a usersession is ended.</para>215 <para>Beginning with systemd-230, all user processes are killed when a user 216 session is ended, even if nohup is used, or the process uses the 217 <function>daemon()</function> or <function>setsid()</function> functions. 218 This is a deliberate change from a historically permissive environment to a 219 more restrictive one. The new behavior may cause issues if you depend on 220 long running programs (e.g., <command>screen</command> or 221 <command>tmux</command>) to remain active after ending your user session. 222 There are three ways to enable lingering processes to remain after a user 223 session is ended.</para> 224 224 225 225 <itemizedlist> 226 226 <listitem> 227 227 <para> 228 <emphasis>Enable process lingering for only needed users</emphasis>:229 normal users have permission to enable process lingering228 <emphasis>Enable process lingering for only selected users</emphasis>: 229 Normal users have permission to enable process lingering 230 230 with the command <command>loginctl enable-linger</command> for their 231 231 own user. System administrators can use the same command with a … … 245 245 <para> 246 246 <emphasis>Enable system-wide process lingering</emphasis>: 247 you can set <parameter>KillUserProcesses=no</parameter> in247 You can set <parameter>KillUserProcesses=no</parameter> in 248 248 <filename>/etc/logind.conf</filename> to enable process lingering 249 249 globally for all users. This has the benefit of leaving the old
Note:
See TracChangeset
for help on using the changeset viewer.