diff options
author | Pierre Labastie <pierre.labastie@neuf.fr> | 2021-09-15 09:24:40 +0200 |
---|---|---|
committer | Pierre Labastie <pierre.labastie@neuf.fr> | 2021-09-15 09:24:40 +0200 |
commit | d4c8dce41281747caf8a0537a3c41b64e78f767c (patch) | |
tree | 548a5d925622d17ff3fc2c98699a98a2d476d65f /chapter09/systemd-custom.xml | |
parent | df1207e0fb2613f19cb89b8c2bddf24b72e1ec6a (diff) | |
parent | 06e7b3611839ab0051fb09e6ae1abc3dfad1ca4e (diff) |
Merge branch 'trunk' into plabs/condxml
Diffstat (limited to 'chapter09/systemd-custom.xml')
-rw-r--r-- | chapter09/systemd-custom.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter09/systemd-custom.xml b/chapter09/systemd-custom.xml index 7e0613df2..bab18eb6d 100644 --- a/chapter09/systemd-custom.xml +++ b/chapter09/systemd-custom.xml @@ -50,13 +50,13 @@ EOF</userinput></screen> <title>Disabling tmpfs for /tmp</title> <para>By default, <filename class="directory">/tmp</filename> is created as - a tmpfs. If this is not desired, it can be overridden by executing the + a tmpfs. If this is not desired, it can be overridden by executing the following command:</para> <screen role="nodump"><userinput>ln -sfv /dev/null /etc/systemd/system/tmp.mount</userinput></screen> <para>Alternatively, if a separate partition for - <filename class="directory">/tmp</filename> is desired, specify that + <filename class="directory">/tmp</filename> is desired, specify that partition in a <filename>/etc/fstab</filename> entry.</para> <warning> @@ -81,9 +81,9 @@ EOF</userinput></screen> <listitem><para>systemd-tmpfiles-setup-dev.service</para></listitem> <listitem><para>systemd-tmpfiles-setup.service</para></listitem> </itemizedlist> - + <para>The system location for the configuration files is - <filename>/usr/lib/tmpfiles.d/*.conf</filename>. The local + <filename>/usr/lib/tmpfiles.d/*.conf</filename>. The local configuration files are in <filename class="directory">/etc/tmpfiles.d</filename>. Files in <filename class="directory">/etc/tmpfiles.d</filename> override @@ -94,9 +94,9 @@ EOF</userinput></screen> <para> Note that the syntax for the - <filename>/usr/lib/tmpfiles.d/*.conf</filename> files can be + <filename>/usr/lib/tmpfiles.d/*.conf</filename> files can be confusing. For example, the default deletion of files in the /tmp directory - is located in <filename>/usr/lib/tmpfiles.d/tmp.conf</filename> with + is located in <filename>/usr/lib/tmpfiles.d/tmp.conf</filename> with the line: <screen role="nodump">q /tmp 1777 root root 10d</screen> @@ -148,7 +148,7 @@ EOF</userinput></screen> <para>Rather than plain shell scripts used in SysVinit or BSD style init systems, systemd uses a unified format for different types of startup files (or units). The command <command>systemctl</command> is used to - enable, disable, control state, and obtain status of unit files. Here + enable, disable, control state, and obtain status of unit files. Here are some examples of frequently used commands:</para> <itemizedlist> |