X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-activate.xml;h=3793331aa7030a04676183bc3c881dbf676e7c1a;hp=b2987d95a891aea22973c389effedeb4c6b4df20;hb=85a8eeee36b57c1ab382b0225fa9a87525bbeee9;hpb=2ca0435be9359bde3020eeb528c2a6d72ac1e0b0 diff --git a/man/systemd-activate.xml b/man/systemd-activate.xml index b2987d95a..3793331aa 100644 --- a/man/systemd-activate.xml +++ b/man/systemd-activate.xml @@ -1,4 +1,4 @@ - + @@ -21,7 +21,8 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + systemd-activate @@ -60,7 +61,7 @@ along with systemd; If not, see . Description systemd-activate can be used to - launch a socket activated daemon from the command-line for + launch a socket activated daemon from the command line for testing purposes. It can also be used to launch single instances of the daemon per connection (inetd-style). @@ -84,22 +85,7 @@ along with systemd; If not, see . Options - - - - Prints a short help - text and exits. - - - - - - Prints a short version - string and exits. - - - - + Listen on this address. @@ -116,6 +102,21 @@ along with systemd; If not, see . connection and pass the connection socket as standard input and standard output. + + + + + + Add this variable to the environment of the + launched process. If VAR is + followed by =, assume that it is a + variable–value pair. Otherwise, obtain the value from the + environment of systemd-activate itself. + + + + + @@ -126,8 +127,8 @@ along with systemd; If not, see . $LISTEN_FDS $LISTEN_PID - See - sd_listen_fds3. + See + sd_listen_fds3. @@ -136,27 +137,26 @@ along with systemd; If not, see . $SYSTEMD_LOG_COLOR $SYSTEMD_LOG_LOCATION - Same as in - systemd1. + Same as in + systemd1. - Example 1 + Examples - $ /usr/lib/systemd/systemd-activate -l 2000 -a cat + + Run an echo server on port 2000 - This runs an echo server on port 2000. - - - - Example 2 + $ /usr/lib/systemd/systemd-activate -l 2000 -a cat + - $ /usr/lib/systemd/systemd-activate -l 19531 /usr/lib/systemd/systemd-journal-gatewayd + + Run a socket activated instance of <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry> - This runs a socket activated instance of - systemd-journal-gatewayd8. + $ /usr/lib/systemd/systemd-activate -l 19531 /usr/lib/systemd/systemd-journal-gatewayd +