Bladeren bron

Minor fixes to systemd-custom.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10611 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Krejzi 11 jaren geleden
bovenliggende
commit
2328343d6b
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6 6
      chapter07/systemd-custom.xml

+ 6 - 6
chapter07/systemd-custom.xml

@@ -33,11 +33,11 @@
     the end of the boot sequence. If desired, this behavior may be
     changed by running the following command:</para>
 
-<screen role="nodump"><userinput>mkdir -p /etc/systemd/system/getty@tty1.service.d
+<screen role="nodump"><userinput>mkdir -pv /etc/systemd/system/getty@tty1.service.d
 
 cat &gt; /etc/systemd/system/getty@tty1.service.d/noclear.conf &lt;&lt; EOF
-[Service]
-TTYVTDisallocate=no
+<literal>[Service]
+TTYVTDisallocate=no</literal>
 EOF</userinput></screen>
 
     <para>The boot messages can always be revied by using the
@@ -90,12 +90,12 @@ EOF</userinput></screen>
     and a configuration file in <filename
     class="directory">/etc/systemd/system</filename>. For example:</para>
 
-<screen role="nodump"><userinput>mkdir -p /etc/systemd/system/foobar.service.d
+<screen role="nodump"><userinput>mkdir -pv /etc/systemd/system/foobar.service.d
 
 cat > /etc/systemd/system/foobar.service.d/foobar.conf &lt;&lt; EOF
-[Service]
+<literal>[Service]
 Restart=always
-RestartSec=30
+RestartSec=30</literal>
 EOF</userinput></screen>
 
      <para>See <filename>systemd.unit(5)</filename> manual page for more