Skip to content

Commit

Permalink
man: wg-quick: use syncconf instead of addconf for strip example
Browse files Browse the repository at this point in the history
Signed-off-by: Jason A. Donenfeld <[email protected]>
  • Loading branch information
zx2c4 committed Jul 28, 2020
1 parent a66219f commit b4a8a18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/man/wg-quick.8
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b4a8a18

Please sign in to comment.