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`
This commit is contained in:
varnav 2021-05-10 10:29:57 -04:00 committed by Willy Tarreau
parent 89da7cf5d5
commit 5a3fe9fcbf

View File

@ -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.