[PATCH 2/6] wg-quick: add restart man page

Garrit Franke contact at garrit.xyz
Thu May 28 20:35:45 CEST 2020


---
 src/man/wg-quick.8 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/man/wg-quick.8 b/src/man/wg-quick.8
index c693a89..01b99ff 100644
--- a/src/man/wg-quick.8
+++ b/src/man/wg-quick.8
@@ -10,6 +10,8 @@ wg-quick - set up a WireGuard interface simply
 |
 .I down
 |
+.I restart
+|
 .I save
 |
 .I strip
@@ -24,11 +26,11 @@ wg-quick - set up a WireGuard interface simply
 This is an extremely simple script for easily bringing up a WireGuard interface,
 suitable for a few common use cases.
 
-Use \fIup\fP to add and set up an interface, and use \fIdown\fP to tear down and remove
-an interface. Running \fIup\fP adds a WireGuard interface, brings up the interface with the
+Use \fIup\fP to add and set up an interface, use \fIdown\fP to tear down and remove
+an interface, and use \fIrestart\fP to restart an interface. Running \fIup\fP adds a WireGuard interface, brings up the interface with the
 supplied IP addresses, sets up mtu and routes, and optionally runs pre/post up scripts. Running \fIdown\fP
 optionally saves the current configuration, removes the WireGuard interface, and optionally
-runs pre/post down scripts. Running \fIsave\fP saves the configuration of an existing
+runs pre/post down scripts. \fIrestart\fP simply combines the \fIup\fP and \fIdown\fP command. Running \fIsave\fP saves the configuration of an existing
 interface without bringing the interface down. Use \fIstrip\fP to output a configuration file
 with all
 .BR wg-quick (8)-specific
-- 
2.24.3 (Apple Git-128)



More information about the WireGuard mailing list