openvpn@.service 380 B

1234567891011121314
  1. [Unit]
  2. Description=OpenVPN connection to %i
  3. PartOf=openvpn.service
  4. ReloadPropagatedFrom=openvpn.service
  5. After=network.target
  6. [Service]
  7. Type=forking
  8. ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
  9. ExecReload=/bin/kill -HUP $MAINPID
  10. WorkingDirectory=/etc/openvpn
  11. [Install]
  12. WantedBy=multi-user.target