1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

man: shorten unnecessarily long example

This commit is contained in:
Lennart Poettering 2024-03-14 09:57:44 +01:00
parent 837eda0522
commit 7b14f85cd8

View File

@ -109,28 +109,17 @@
also have to be configured manually for correct ordering and conflicting. For example:</para>
<programlisting>[Unit]
Description=My surviving service
Description=My Surviving Service
SurviveFinalKillSignal=yes
IgnoreOnIsolate=yes
DefaultDependencies=no
After=basic.target
Conflicts=reboot.target
Before=reboot.target
Conflicts=kexec.target
Before=kexec.target
Conflicts=poweroff.target
Before=poweroff.target
Conflicts=halt.target
Before=halt.target
Conflicts=rescue.target
Before=rescue.target
Conflicts=emergency.target
Before=emergency.target
Conflicts=reboot.target kexec.target poweroff.target halt.target rescue.target emergency.target
Before=reboot.target kexec.target poweroff.target halt.target rescue.target emergency.target
[Service]
Type=oneshot
ExecStart=sleep infinity
</programlisting>
ExecStart=sleep infinity</programlisting>
</listitem>
<listitem><para>File system mounts may remain mounted during the transition, and complex storage