openvpn@.service 532 B

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