diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-07-28 10:57:54 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-07-28 14:19:10 +0200 |
commit | b4a8a18797335de6d3d416e14a2ad769219426db (patch) | |
tree | c133bd56e636f862e119ff93670ece209f499433 | |
parent | systemd: add reload target to systemd unit (diff) | |
download | wireguard-tools-b4a8a18797335de6d3d416e14a2ad769219426db.tar.xz wireguard-tools-b4a8a18797335de6d3d416e14a2ad769219426db.zip |
man: wg-quick: use syncconf instead of addconf for strip example
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/man/wg-quick.8 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/man/wg-quick.8 b/src/man/wg-quick.8 index c693a89..b84eb64 100644 --- a/src/man/wg-quick.8 +++ b/src/man/wg-quick.8 @@ -254,9 +254,7 @@ This will load the configuration file `/etc/wireguard/wgnet0.conf'. The \fIstrip\fP command is useful for reloading configuration files without disrupting active sessions: -\fB # wg addconf wgnet0 <(wg-quick strip wgnet0)\fP - -(Note that the above command will add and update peers but will not remove peers.) +\fB # wg syncconf wgnet0 <(wg-quick strip wgnet0)\fP .SH SEE ALSO .BR wg (8), |