summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openvpn.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-03 11:56:18 +0200
committerChristian Poessinger <christian@poessinger.com>2019-10-03 11:56:18 +0200
commit08b60ba1ccbb12d398a184f0303f2c150a15b918 (patch)
tree222290e6512826ed5738c0491bfc926777b6997e /op-mode-definitions/openvpn.xml
parentcf499f958423919264884e9f1c5c1b593fd9de0e (diff)
downloadvyos-1x-08b60ba1ccbb12d398a184f0303f2c150a15b918.tar.gz
vyos-1x-08b60ba1ccbb12d398a184f0303f2c150a15b918.zip
OpenVPN: T1689: Add full restart on 'reset openvpn interface <interface>'
Diffstat (limited to 'op-mode-definitions/openvpn.xml')
-rw-r--r--op-mode-definitions/openvpn.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/openvpn.xml b/op-mode-definitions/openvpn.xml
index 368cc9115..d7c4fc101 100644
--- a/op-mode-definitions/openvpn.xml
+++ b/op-mode-definitions/openvpn.xml
@@ -68,7 +68,7 @@
<script>sudo ${vyos_completion_dir}/list_interfaces.py --type openvpn</script>
</completionHelp>
</properties>
- <command>sudo kill -SIGUSR1 $(cat /var/run/openvpn/$4.pid)</command>
+ <command>sudo ${vyos_op_scripts_dir}/reset_openvpn.py $4</command>
</tagNode>
</children>
</node>