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=717f5c0c28c8303c7ae44865e958c018d7f30d47;hb=9b15b7846d4de01bb5d9700a24077787e984e8ab;hpb=dfdebb1b925332352966804303b2516a6506a429 diff --git a/man/systemd-activate.xml b/man/systemd-activate.xml index 717f5c0c2..3793331aa 100644 --- a/man/systemd-activate.xml +++ b/man/systemd-activate.xml @@ -1,4 +1,4 @@ - + @@ -61,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). @@ -144,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 +