summaryrefslogtreecommitdiff
path: root/data/templates/openvpn
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 17:41:01 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 17:41:01 +0200
commit580dde963f38f6a626745a9438bf902090fe67a0 (patch)
tree2e0ab38521b60e2ae1fc65e5d1b7fd722d631091 /data/templates/openvpn
parent2f63c5abc93fd54645b35658d2b34b3b7435c31b (diff)
downloadvyos-1x-580dde963f38f6a626745a9438bf902090fe67a0.tar.gz
vyos-1x-580dde963f38f6a626745a9438bf902090fe67a0.zip
openvpn: T2308: fix path to UNIX control socket
Bug introduced in commit b36e6e6 ("openvpn: T2273: migrate from SysVinit to systemd") as not all relevant configuration files have been re-rendered into /run/openvpn.
Diffstat (limited to 'data/templates/openvpn')
-rw-r--r--data/templates/openvpn/server.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index 53fe8d400..396888c0f 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -98,7 +98,7 @@ ccd-exclusive
{%- endif %}
keepalive {{ ping_interval }} {{ ping_restart }}
-management /tmp/openvpn-mgmt-intf unix
+management /run/openvpn/openvpn-mgmt-intf unix
{% for route in server_push_route -%}
push "route {{ route }}"