X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-activate.xml;h=e64894a28bb33b00478853b08a991e562e2b001c;hp=a5cab8e3b702acb0ef2e1f5cfb22137754083394;hb=754061ce7173fd8cb66ade1a48381e2cead35522;hpb=ed1553a20d5bc73c1ae8e269d46ee24f80d259d4 diff --git a/man/systemd-activate.xml b/man/systemd-activate.xml index a5cab8e3b..e64894a28 100644 --- a/man/systemd-activate.xml +++ b/man/systemd-activate.xml @@ -1,27 +1,28 @@ - + - + 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. + + + + + @@ -143,20 +144,19 @@ along with systemd; If not, see . - 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 +