mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
VPN: OpenVPN - add daemon name "openvpn_%", closes https://github.com/opnsense/core/issues/6156
This commit is contained in:
parent
36c358ea3b
commit
5586e49d86
@ -522,7 +522,7 @@ function openvpn_reconfigure($mode, $settings, $device_only = false)
|
||||
$conf .= "dev-node /dev/{$devnode}\n";
|
||||
$conf .= "writepid /var/run/openvpn_{$mode_id}.pid\n";
|
||||
$conf .= "script-security 3\n";
|
||||
$conf .= "daemon\n";
|
||||
$conf .= "daemon openvpn_{$mode_id}\n";
|
||||
$conf .= "keepalive 10 60\n";
|
||||
$conf .= "ping-timer-rem\n";
|
||||
$conf .= "persist-tun\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user