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