diff options
Diffstat (limited to 'debian/openvpn@.service')
-rw-r--r-- | debian/openvpn@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/openvpn@.service b/debian/openvpn@.service new file mode 100644 index 0000000..a7ec1ee --- /dev/null +++ b/debian/openvpn@.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenVPN connection to %i +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf +WorkingDirectory=/etc/openvpn + +[Install] +WantedBy=multi-user.target + + |