summaryrefslogtreecommitdiff
path: root/debian/openvpn.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openvpn.service')
-rw-r--r--debian/openvpn.service8
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/openvpn.service b/debian/openvpn.service
index b76e36e..e1d49a8 100644
--- a/debian/openvpn.service
+++ b/debian/openvpn.service
@@ -1,3 +1,6 @@
+# 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
@@ -5,9 +8,8 @@ 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
+ExecStart=/bin/true
+ExecStop=/bin/true
WorkingDirectory=/etc/openvpn
[Install]