mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Instead of killing openvpn and restarting, simply HUP it to reload its settings.
This commit is contained in:
parent
2cb01de930
commit
cebf4a3571
@ -76,7 +76,7 @@ if($old_ip) {
|
||||
vpn_ipsec_configure(true);
|
||||
|
||||
/* start OpenVPN server & clients */
|
||||
openvpn_resync_all();
|
||||
exec("killall -HUP openvpn 2>/dev/null");
|
||||
|
||||
/* regenerate resolv.conf if DNS overrides are allowed or the BigPond
|
||||
client is enabled */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user