From: Lennart Poettering Date: Fri, 17 Nov 2017 09:54:50 +0000 (+0100) Subject: nspawn: correctly document the relationship of --keep-unit and --register=no (#7364) X-Git-Tag: v236~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb8499578934cf66998ec0b4cf24f5ff1e4df67c;p=thirdparty%2Fsystemd.git nspawn: correctly document the relationship of --keep-unit and --register=no (#7364) Fixes: #7228 --- 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.