summaryrefslogtreecommitdiff
path: root/debian/openvpn@.service
blob: a7ec1eeeb009b0070ccec038b356c7dff7f6c4c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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