From: varnav Date: Mon, 10 May 2021 14:29:57 +0000 (-0400) Subject: DOC: management: Correct example reload command in the document X-Git-Tag: v2.4.0~12 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=5a3fe9fcbffc6ddc3af7fa0917d46e1af68513db;p=haproxy-2.5.git DOC: management: Correct example reload command in the document Current example is: `echo "reload" | socat /var/run/haproxy-master.sock` it will cause socat error: `exactly 2 addresses required (there are 1); use option "-h" for help` Correct working command is: `echo "reload" | socat /var/run/haproxy-master.sock stdin` --- diff --git a/doc/management.txt b/doc/management.txt index 3770c89..a1c5b4c 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -3296,7 +3296,7 @@ has at least "operator" or "admin" privileges. Example: - $ echo "reload" | socat /var/run/haproxy-master.sock + $ echo "reload" | socat /var/run/haproxy-master.sock stdin Note that a reload will close the connection to the master CLI.