diff --git a/man/systemd-run.xml b/man/systemd-run.xml
index 60af576099..e1986c1f52 100644
--- a/man/systemd-run.xml
+++ b/man/systemd-run.xml
@@ -64,8 +64,8 @@
other service, and thus shows up in the output of systemctl list-units like any other unit. It
will run in a clean and detached execution environment, with the service manager as its parent process. In this
mode, systemd-run will start the service asynchronously in the background and return after the
- command has begun execution (unless or are specified, see
- below).
+ command has begun execution (unless , , ,
+ or are specified, see below).
If a command is run as transient scope unit, it will be executed by systemd-run
itself as parent process and will thus inherit the execution environment of the caller. However, the
@@ -325,6 +325,11 @@
to the terminal systemd-run is invoked on, via a pseudo TTY device. This allows running
programs that expect interactive user input/output as services, such as interactive command shells.
+ This option will result in systemd-run synchronously waiting for
+ the transient service to terminate, similar to specifying . If specified
+ along with , systemd-run won't exit when manually disconnecting
+ from the pseudo TTY device.
+
Note that
machinectl1's
shell command is usually a better alternative for requesting a new, interactive login
@@ -341,15 +346,19 @@
If specified, standard input, output, and error of the transient service are inherited from the
systemd-run command itself. This allows systemd-run
- to be used within shell pipelines.
- Note that this mode is not suitable for interactive command shells and similar, as the
- service process will not become a TTY controller when invoked on a terminal. Use instead
- in that case.
+ to be used within shell pipelines.
+
+ Note that this mode is not suitable for interactive command shells and similar, as the
+ service process will not become a TTY controller when invoked on a terminal. Use
+ instead in that case.When both and are used in combination the more appropriate
option is automatically determined and used. Specifically, when invoked with standard input, output and error
connected to a TTY is used, and otherwise .
+ This option will result in systemd-run synchronously waiting for
+ the transient service to terminate, similar to specifying .
+
When this option is used the original file descriptors systemd-run receives are passed
to the service processes as-is. If the service runs with different privileges than
systemd-run, this means the service might not be able to reopen the passed file