From a0c6124b2d4e4735743f4cad31431a127d97de99 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 9 Mar 2020 19:56:36 +0100 Subject: openvpn: T2065: pass daemon parameter to start-stop-daemon in op-mode Commit cd2147cfa2 ("openvpn: T2065: move daemon parameter to start-stop-daemon commandline") only added the cfg-mode part but missed out op-mode. --- src/op_mode/reset_openvpn.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/op_mode') diff --git a/src/op_mode/reset_openvpn.py b/src/op_mode/reset_openvpn.py index 7043ac261..38eca53cc 100755 --- a/src/op_mode/reset_openvpn.py +++ b/src/op_mode/reset_openvpn.py @@ -64,6 +64,7 @@ if __name__ == '__main__': cmd += ' --exec /usr/sbin/openvpn' # now pass arguments to openvpn binary cmd += ' --' + cmd += ' --daemon openvpn-' + interface cmd += ' --config ' + get_config_name(interface) subprocess_cmd(cmd) -- cgit v1.2.3