From b36e6e6c984e45c7da405f10efd641a46850c042 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 11 Apr 2020 22:50:27 +0200 Subject: openvpn: T2273: migrate from SysVinit to systemd --- src/etc/systemd/system/openvpn@.service.d/override.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/etc/systemd/system/openvpn@.service.d/override.conf (limited to 'src/etc/systemd/system') 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 -- cgit v1.2.3