diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-04-08 14:57:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-04-09 09:32:37 +0200 |
commit | 2c7039b3169d736a98ca1cb1e03129f12c2ab6ed (patch) | |
tree | b216de519fe89edd3a2ab2907159c47a352e7c75 /man | |
parent | ba45534917d5ac56bf621ab6e6f4ccb11d0eb269 (diff) | |
download | systemd-2c7039b3169d736a98ca1cb1e03129f12c2ab6ed.tar.gz |
systemd-run: add --slice-inherit
Add a new option to easily place a slice within the systemd-run slice.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-run.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd-run.xml b/man/systemd-run.xml index 6fc2c8d0eb..a88f60fbb6 100644 --- a/man/systemd-run.xml +++ b/man/systemd-run.xml @@ -154,6 +154,20 @@ </varlistentry> <varlistentry> + <term><option>--slice-inherit</option></term> + + <listitem><para>Make the new <filename>.service</filename> or <filename>.scope</filename> unit part + of the inherited slice. This option can be combined with <option>--slice=</option>.</para> + + <para>An inherited slice is located within <command>systemd-run</command> slice. Example: if + <command>systemd-run</command> slice is <filename>foo.slice</filename>, and the + <option>--slice=</option> argument is <filename>bar</filename>, the unit will be placed under the + <filename>foo-bar.slice</filename>.</para> + + </listitem> + </varlistentry> + + <varlistentry> <term><option>-r</option></term> <term><option>--remain-after-exit</option></term> |