man: wg-quick: use syncconf instead of addconf for strip example

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-07-28 10:57:54 +02:00
parent a66219fa10
commit b4a8a18797
1 changed files with 1 additions and 3 deletions

View File

@ -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),