- [Unit]
- Description=OpenVPN connection to %i
- PartOf=openvpn.service
- ReloadPropagatedFrom=openvpn.service
- 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
- ExecReload=/bin/kill -HUP $MAINPID
- WorkingDirectory=/etc/openvpn
- [Install]
- WantedBy=multi-user.target
|