mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man/systemd-soft-reboot.service: upgrade drop-in to unit file for slice
Follow-up for d91c7c91bf
.
Closes https://github.com/systemd/systemd/issues/33260.
This commit is contained in:
parent
18200b426e
commit
6eddfeebdb
@ -122,10 +122,10 @@ Type=oneshot
|
||||
ExecStart=sleep infinity</programlisting>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>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 <filename>foo@test.service</filename> instance configured with the default slice, a
|
||||
drop-in <filename>system-foo.slice.d/survive.conf</filename> is required, with content:</para>
|
||||
<listitem><para>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
|
||||
<filename>foo@test.service</filename> instance, a <filename>system-foo.slice</filename> unit may be
|
||||
added with the following content:</para>
|
||||
|
||||
<programlisting>[Unit]
|
||||
SurviveFinalKillSignal=yes
|
||||
|
Loading…
Reference in New Issue
Block a user