summaryrefslogtreecommitdiff
path: root/core/openvpn/openvpn@.service
diff options
context:
space:
mode:
authorJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-09-18 23:41:48 -0500
committerJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-09-18 23:41:48 -0500
commitfa95bb04dbbc63d07b1f84fb8ce5272085097eb7 (patch)
tree09eb51305956e84dfb79aa89f5b99e595371c54d /core/openvpn/openvpn@.service
parent6eefbbf4300e680dc93487c11a1ae35ee8299f06 (diff)
parent5a05be089c68617c86c9c555e63f2b0314451ebf (diff)
Merge branch 'master' of gitpar:abslibre-mips64el
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