From 5a3fe9fcbffc6ddc3af7fa0917d46e1af68513db Mon Sep 17 00:00:00 2001 From: varnav Date: Mon, 10 May 2021 10:29:57 -0400 Subject: [PATCH] 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` --- doc/management.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/management.txt b/doc/management.txt index 3770c89d6..a1c5b4c90 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.