void-packages/srcpkgs/openvpn/files/openvpn@.service

11 lines
223 B
SYSTEMD
Raw Normal View History

[Unit]
Description=OpenVPN connection to %i
After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --cd /etc/openvpn
[Install]
WantedBy=multi-user.target