softether-vpnclient.service 521 B

1234567891011121314151617181920
  1. [Unit]
  2. Description=SoftEther VPN Client
  3. After=network.target auditd.service
  4. ConditionPathExists=!@DIR@/softether/vpnclient/do_not_run
  5. [Service]
  6. Type=exec
  7. ExecStart=@DIR@/softether/vpnclient/vpnclient execsvc
  8. Restart=on-failure
  9. # Hardening
  10. PrivateTmp=yes
  11. ProtectHome=yes
  12. ProtectSystem=full
  13. ReadOnlyDirectories=/
  14. ReadWriteDirectories=-@DIR@/softether/vpnclient
  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