diff options
Diffstat (limited to 'doc/openvpn.8')
-rw-r--r-- | doc/openvpn.8 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8 index b0689b9..f9e7a0b 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -1809,6 +1809,12 @@ has been specified, the up script will be called with .I restart as the last parameter. +NOTE: on restart, OpenVPN will not pass the full set of environment +variables to the script. Namely, everything related to routing and +gateways will not be passed, as nothing needs to be done anyway - all +the routing setup is already in place. Additionally, the up\-restart +script will run with the downgraded UID/GID settings (if configured). + The following standalone example shows how the .B \-\-up script can be called in both an initialization and restart context. |