summaryrefslogtreecommitdiff
path: root/debian/openvpn.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openvpn.service')
-rw-r--r--debian/openvpn.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/openvpn.service b/debian/openvpn.service
new file mode 100644
index 0000000..0075cc4
--- /dev/null
+++ b/debian/openvpn.service
@@ -0,0 +1,18 @@
+# This service is actually a systemd target,
+# but we are using a service since targets cannot be reloaded.
+
+[Unit]
+Description=OpenVPN service
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/true
+ExecReload=/bin/true
+WorkingDirectory=/etc/openvpn
+
+[Install]
+WantedBy=multi-user.target
+
+