diff --git a/man/systemd-soft-reboot.service.xml b/man/systemd-soft-reboot.service.xml index 668b664513..9b29a5d68a 100644 --- a/man/systemd-soft-reboot.service.xml +++ b/man/systemd-soft-reboot.service.xml @@ -122,6 +122,17 @@ Type=oneshot ExecStart=sleep infinity + On top of the above, templated units also need a drop-in configuration file for their + slice, as they are by default ran inside a slice named after the non-templated part of the unit. For + example, for a foo@test.service instance configured with the default slice, a + drop-in system-foo.slice.d/survive.conf is required, with content: + + [Unit] +SurviveFinalKillSignal=yes +IgnoreOnIsolate=yes +DefaultDependencies=no + + File system mounts may remain mounted during the transition, and complex storage attached, if configured to remain until the very end of the shutdown process. (Also achieved via DefaultDependencies=no, and by avoiding