summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-11 22:50:27 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-11 22:53:19 +0200
commitb36e6e6c984e45c7da405f10efd641a46850c042 (patch)
treed3c8353185a5b5eeb28150ef3933a62f3b9d5118 /src/etc
parentda03bbf8767be74957baae68bf9ffc0e9f56ddac (diff)
downloadvyos-1x-b36e6e6c984e45c7da405f10efd641a46850c042.tar.gz
vyos-1x-b36e6e6c984e45c7da405f10efd641a46850c042.zip
openvpn: T2273: migrate from SysVinit to systemd
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/systemd/system/openvpn@.service.d/override.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/etc/systemd/system/openvpn@.service.d/override.conf b/src/etc/systemd/system/openvpn@.service.d/override.conf
new file mode 100644
index 000000000..8f1710e79
--- /dev/null
+++ b/src/etc/systemd/system/openvpn@.service.d/override.conf
@@ -0,0 +1,9 @@
+[Unit]
+After=
+After=vyos-router.service
+
+[Service]
+WorkingDirectory=
+WorkingDirectory=/run/openvpn
+ExecStart=
+ExecStart=/usr/sbin/openvpn --daemon openvpn-%i --config %i.conf