summaryrefslogtreecommitdiff
path: root/testing/openvpn/openvpn@.service
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openvpn/openvpn@.service')
-rw-r--r--testing/openvpn/openvpn@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/openvpn/openvpn@.service b/testing/openvpn/openvpn@.service
new file mode 100644
index 000000000..c3de3bdf7
--- /dev/null
+++ b/testing/openvpn/openvpn@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=OpenVPN connection to %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --cd /etc/openvpn
+
+[Install]
+WantedBy=multi-user.target