X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-activate.xml;h=e64894a28bb33b00478853b08a991e562e2b001c;hb=0a6f50c0afdfc434b492493bd9efab20cbee8623;hp=717f5c0c28c8303c7ae44865e958c018d7f30d47;hpb=dfdebb1b925332352966804303b2516a6506a429;p=elogind.git diff --git a/man/systemd-activate.xml b/man/systemd-activate.xml index 717f5c0c2..e64894a28 100644 --- a/man/systemd-activate.xml +++ b/man/systemd-activate.xml @@ -1,24 +1,24 @@ - + . 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 +