summaryrefslogtreecommitdiff
path: root/core/openvpn/openvpn@.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-29 00:04:41 +0000
committerroot <root@rshg054.dnsready.net>2012-08-29 00:04:41 +0000
commit498a4346616c33beac56d48a246cf27fe3812341 (patch)
tree333cfc0154a280d9dcf65c08900913200c33d988 /core/openvpn/openvpn@.service
parent559da5e6e5aff9ccc57e29b6a91c35a528424b6c (diff)
Wed Aug 29 00:04:40 UTC 2012
Diffstat (limited to 'core/openvpn/openvpn@.service')
-rw-r--r--core/openvpn/openvpn@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/openvpn/openvpn@.service b/core/openvpn/openvpn@.service
new file mode 100644
index 000000000..c3de3bdf7
--- /dev/null
+++ b/core/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