summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-11-28 19:14:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-11-28 19:14:58 +0000
commit481fda7f4ff5fc5d57da6bdbf4ab66ad710f5049 (patch)
treee292acfa8eed79260d9b13f5b48f5b92f4c0ef30 /etc
parent85d70ed4aae66f41e0812f594b6675d8afdf3e94 (diff)
downloadpfsense-481fda7f4ff5fc5d57da6bdbf4ab66ad710f5049.zip
pfsense-481fda7f4ff5fc5d57da6bdbf4ab66ad710f5049.tar.gz
Start OpenVPN with nohup
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 5f290c7..43f909d 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -357,7 +357,7 @@ function openvpn_restart($mode, $id) {
if ($settings['disable']) return;
$configfile = $g['varetc_path'] . "/openvpn_{$mode}{$id}.conf";
- mwexec_bg("openvpn --config $configfile");
+ mwexec_bg("nohup openvpn --config $configfile");
touch("{$g['tmp_path']}/filter_dirty");
}
OpenPOWER on IntegriCloud