From efeb864cb547a2cbf96dc0053a8bdb4d9190b364 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:45 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- man/systemd-soft-reboot.service.xml | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'man/systemd-soft-reboot.service.xml') diff --git a/man/systemd-soft-reboot.service.xml b/man/systemd-soft-reboot.service.xml index c4ee207..34dd5aa 100644 --- a/man/systemd-soft-reboot.service.xml +++ b/man/systemd-soft-reboot.service.xml @@ -1,6 +1,6 @@ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> [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=shutdown.target rescue.target emergency.target [Service] Type=oneshot -ExecStart=sleep infinity - +ExecStart=sleep infinity + + + On top of the above, templated units also need a configuration file for their slice, as + they by default use a slice named after the non-templated part of the unit. For example, for a + foo@test.service instance, a system-foo.slice unit may be + added with the following content: + + [Unit] +SurviveFinalKillSignal=yes +IgnoreOnIsolate=yes +DefaultDependencies=no File system mounts may remain mounted during the transition, and complex storage @@ -179,14 +179,14 @@ ExecStart=sleep infinity See Also - - systemd1, - systemctl1, - systemd.special7, - systemd-poweroff.service8, - systemd-suspend.service8, - bootup7 - + + systemd1 + systemctl1 + systemd.special7 + systemd-poweroff.service8 + systemd-suspend.service8 + bootup7 + -- cgit v1.2.3