dnet-whois.service 954 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [Unit]
  2. Description=decentralized network whois daemon
  3. Documentation=https://codeberg.org/mark22k/dnet-whois
  4. After=network.target
  5. [Service]
  6. ProtectSystem=strict
  7. ProtectHome=true
  8. PrivateDevices=true
  9. ProtectKernelTunables=true
  10. ProtectKernelModules=true
  11. ProtectControlGroups=true
  12. PrivateTmp=true
  13. PrivateMounts=true
  14. PrivateUsers=true
  15. ProtectClock=true
  16. ProtectControlGroups=true
  17. ProtectKernelLogs=true
  18. ProtectProc=true
  19. ProtectSystem=true
  20. RestrictSUIDSGID=true
  21. SystemCallFilter=
  22. AmbientCapabilities=
  23. RestrictNamespaces=
  24. LockPersonality=true
  25. RemoveIPC=true
  26. MemoryDenyWriteExecute=true
  27. ProtectHostname=true
  28. ProcSubset=
  29. PermissionsStartOnly=true
  30. LimitNOFILE=1048576
  31. LimitNPROC=512
  32. CapabilityBoundingSet=CAP_NET_BIND_SERVICE
  33. AmbientCapabilities=CAP_NET_BIND_SERVICE
  34. NoNewPrivileges=true
  35. User=dnet-whois
  36. ExecStart=/usr/bin/ruby /home/dnet-whois/dnet-whois/lib/main.rb
  37. ExecReload=/bin/kill -SIGUSR1 $MAINPID
  38. Restart=on-failure
  39. [Install]
  40. WantedBy=multi-user.target