From bb8499578934cf66998ec0b4cf24f5ff1e4df67c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 17 Nov 2017 10:54:50 +0100 Subject: [PATCH] nspawn: correctly document the relationship of --keep-unit and --register=no (#7364) Fixes: #7228 --- man/systemd-nspawn.xml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 2386c80b1ca..98ce1529de0 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -915,20 +915,17 @@ - Instead of creating a transient scope unit to - run the container in, simply register the service or scope - unit systemd-nspawn has been invoked in - with - systemd-machined8. - This has no effect if is used. - This switch should be used if - systemd-nspawn is invoked from within a - service unit, and the service unit's sole purpose is to run a - single systemd-nspawn container. This - option is not available if run from a user - session. + Instead of creating a transient scope unit to run the container in, simply use the service or + scope unit systemd-nspawn has been invoked in. If is set + this unit is registered with + systemd-machined8. This + switch should be used if systemd-nspawn is invoked from within a service unit, and the + service unit's sole purpose is to run a single systemd-nspawn container. This option is not + available if run from a user session. Note that passing disables the effect of and - . + . Use and in + combination to disable any kind of unit allocation or registration with + systemd-machined. -- 2.47.3