X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-run.xml;h=febcdb0262895d540e58bc9f2e11b2f016ef2340;hb=5c3072eab6d2e11d89452987b017541d4654ac05;hp=b9cec91d1573632d499644bcbe722c871af70633;hpb=4c213d6cf416917c61f82d8bee795b8f3a4c5372;p=elogind.git diff --git a/man/systemd-run.xml b/man/systemd-run.xml index b9cec91d1..febcdb026 100644 --- a/man/systemd-run.xml +++ b/man/systemd-run.xml @@ -3,22 +3,22 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> . - - - - + + + + + When invoking a command as service connects + its standard input and output to the invoking tty via a + pseudo TTY device. This allows invoking binaries as services + that expect interactive user input, such as interactive + command shells. + + + + + + + Suppresses additional informational output + while running. This is particularly useful in combination with + when it will suppress the initial + message explaining how to terminate the TTY connection. + @@ -278,6 +294,11 @@ along with systemd; If not, see . set-property command. + + + + + @@ -333,6 +354,13 @@ Dec 08 20:44:38 container systemd[1]: Started /bin/touch /tmp/foo. -- Logs begin at Fri 2014-12-05 19:09:21 KST, end at Mon 2014-12-08 20:44:54 KST. -- Dec 08 20:44:48 container systemd[1]: Starting /bin/touch /tmp/foo... Dec 08 20:44:48 container systemd[1]: Started /bin/touch /tmp/foo. + + The following command invokes /bin/bash + as a service passing its standard input, output and error to + the calling TTY. + + # systemd-run -t /bin/bash +