summaryrefslogtreecommitdiff
path: root/debian/openvpn.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openvpn.service')
-rw-r--r--debian/openvpn.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/openvpn.service b/debian/openvpn.service
new file mode 100644
index 0000000..b76e36e
--- /dev/null
+++ b/debian/openvpn.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=OpenVPN service
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/sbin/openvpn-systemd-helper start
+ExecStop=/usr/sbin/openvpn-systemd-helper stop
+ExecReload=/usr/sbin/openvpn-systemd-helper reload
+WorkingDirectory=/etc/openvpn
+
+[Install]
+WantedBy=multi-user.target
+
+