softether-vpnbridge.service 521 B

1234567891011121314151617181920
  1. [Unit]
  2. Description=SoftEther VPN Bridge
  3. After=network.target auditd.service
  4. ConditionPathExists=!@DIR@/softether/vpnbridge/do_not_run
  5. [Service]
  6. Type=exec
  7. ExecStart=@DIR@/softether/vpnbridge/vpnbridge execsvc
  8. Restart=on-failure
  9. # Hardening
  10. PrivateTmp=yes
  11. ProtectHome=yes
  12. ProtectSystem=full
  13. ReadOnlyDirectories=/
  14. ReadWriteDirectories=-@DIR@/softether/vpnbridge
  15. CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYSLOG CAP_SETUID
  16. [Install]
  17. WantedBy=multi-user.target