diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-09 19:56:36 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-09 19:56:56 +0100 |
commit | a0c6124b2d4e4735743f4cad31431a127d97de99 (patch) | |
tree | 5801506a2fe602afbad399092e8eba964246e696 /src/op_mode/reset_openvpn.py | |
parent | 253d7dc03b3fbf11dd96d4279841a0658b7611fb (diff) | |
download | vyos-1x-a0c6124b2d4e4735743f4cad31431a127d97de99.tar.gz vyos-1x-a0c6124b2d4e4735743f4cad31431a127d97de99.zip |
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.
Diffstat (limited to 'src/op_mode/reset_openvpn.py')
-rwxr-xr-x | src/op_mode/reset_openvpn.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |