summaryrefslogtreecommitdiffstats
path: root/man/systemd-soft-reboot.service.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-03-14 09:57:44 +0100
committerLennart Poettering <lennart@poettering.net>2024-03-14 11:05:04 +0100
commit7b14f85cd8e12f7480ca201989367cfcb915ba40 (patch)
treec4eb513883434e455f71c0cc4a82d76e5c06e505 /man/systemd-soft-reboot.service.xml
parentMerge pull request #31770 from poettering/linkat-replace (diff)
downloadsystemd-7b14f85cd8e12f7480ca201989367cfcb915ba40.tar.xz
systemd-7b14f85cd8e12f7480ca201989367cfcb915ba40.zip
man: shorten unnecessarily long example
Diffstat (limited to 'man/systemd-soft-reboot.service.xml')
-rw-r--r--man/systemd-soft-reboot.service.xml19
1 files changed, 4 insertions, 15 deletions
diff --git a/man/systemd-soft-reboot.service.xml b/man/systemd-soft-reboot.service.xml
index 138c919ee7..354a24679a 100644
--- a/man/systemd-soft-reboot.service.xml
+++ b/man/systemd-soft-reboot.service.xml
@@ -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