Changeset 37e35d2 for chapter09/systemd-custom.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
chapter09/systemd-custom.xml
rd4fdde6 r37e35d2 50 50 51 51 <para>By default, <filename class="directory">/tmp</filename> is created as 52 a tmpfs. If this is not desired, it can be overridden by the following:</para> 52 a tmpfs. If this is not desired, it can be overridden by executing the 53 following command:</para> 53 54 54 55 <screen role="nodump"><userinput>ln -sfv /dev/null /etc/systemd/system/tmp.mount</userinput></screen> … … 56 57 <para>Alternatively, if a a separate partition for 57 58 <filename class="directory">/tmp</filename> is desired, specify that 58 partition in a n<filename>/etc/fstab</filename> entry.</para>59 partition in a <filename>/etc/fstab</filename> entry.</para> 59 60 60 61 <warning> … … 88 89 files with the same name in 89 90 <filename class="directory">/usr/lib/tmpfiles.d</filename>. See 90 <filename>tmpfiles.d(5)</filename> manual page 91 <filename>tmpfiles.d(5)</filename> manual page for file format 91 92 details.</para> 92 93 … … 104 105 which in turn references type d (directory). This then creates the 105 106 specified directory if is is not present and adjusts the permissions 106 and ownership as specified. 107 and ownership as specified. Contents of the directory will be 107 108 subject to time based cleanup if the age argument is specified. 108 109 </para> … … 122 123 <title>Overriding Default Services Behavior</title> 123 124 124 <para>The parameter of a unit can be overriden by creating a directory125 <para>The parameters of a unit can be overriden by creating a directory 125 126 and a configuration file in <filename 126 127 class="directory">/etc/systemd/system</filename>. For example:</para> … … 181 182 <para>Logging on a system booted with systemd is handled with 182 183 systemd-journald (by default), rather than a typical unix syslog daemon. 183 You can also add a normal syslog daemon and have both workside by184 You can also add a normal syslog daemon and have both operate side by 184 185 side if desired. The systemd-journald program stores journal entries in a 185 186 binary format rather than a plain text log file. To assist with … … 203 204 </listitem> 204 205 <listitem> 205 <para><command>journalctl -f</command>: p ovides functionality similar206 <para><command>journalctl -f</command>: provides functionality similar 206 207 to tail -f (follow).</para> 207 208 </listitem> … … 216 217 when a daemon process crashes. On systemd booted systems the core 217 218 dumping is handled by <command>systemd-coredump</command>. It will 218 log the core dump in tothe journal and store the core dump itself in219 log the core dump in the journal and store the core dump itself in 219 220 <filename class="directory">/var/lib/systemd/coredump</filename>. 220 To retrieve and process core dumps, <command>coredumpctl</command>221 To retrieve and process core dumps, the <command>coredumpctl</command> 221 222 tool is provided. Here are some examples of frequently used commands: 222 223 </para> … … 225 226 <listitem> 226 227 <para><command>coredumpctl -r</command>: lists all core dumps in 227 reverse dchronological order.</para>228 </listitem> 229 <listitem> 230 <para><command>coredumpctl -1 info</command>: show the information231 ofthe last core dump.</para>232 </listitem> 233 <listitem> 234 <para><command>coredumpctl -1 debug</command>: load the last core228 reverse chronological order.</para> 229 </listitem> 230 <listitem> 231 <para><command>coredumpctl -1 info</command>: shows the information 232 from the last core dump.</para> 233 </listitem> 234 <listitem> 235 <para><command>coredumpctl -1 debug</command>: loads the last core 235 236 dump into <ulink url="&blfs-book;general/gdb.html">GDB</ulink>. 236 237 </para> … … 250 251 EOF</userinput></screen> 251 252 252 <para>See <filename>systemd-coredump(8)</filename>,253 <para>See the <filename>systemd-coredump(8)</filename>, 253 254 <filename>coredumpctl(1)</filename>, and 254 255 <filename>coredump.conf.d(5)</filename> manual pages for more … … 285 286 after the user session has ended, but breaks backwards compatibility 286 287 with tools like <command>nohup</command> and utilities that use 287 <function>d eamon()</function>.288 <function>daemon()</function>. 288 289 </para> 289 290 </listitem> … … 299 300 <listitem> 300 301 <para> 301 <emphasis>Disable at build-time</emphasis>: You can enable302 <emphasis>Disable at build-time</emphasis>: You can disable 302 303 lingering by default while building systemd by adding the switch 303 304 <parameter>-Ddefault-kill-user-processes=false</parameter> to the
Note:
See TracChangeset
for help on using the changeset viewer.