SHARE
TWEET

Untitled

a guest Jan 27th, 2020 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ cat /lib/systemd/system/boinc-client.service
  2. [Unit]
  3. Description=Berkeley Open Infrastructure Network Computing Client
  4. Documentation=man:boinc(1)
  5. After=network-online.target
  6.  
  7. [Service]
  8. Type=simple
  9. ProtectHome=true
  10. PrivateTmp=true
  11. ProtectSystem=strict
  12. ProtectControlGroups=true
  13. ReadWritePaths=-/var/lib/boinc -/etc/boinc-client
  14. Nice=10
  15. User=boinc
  16. WorkingDirectory=/var/lib/boinc
  17. ExecStart=/usr/bin/boinc
  18. ExecStop=/usr/bin/boinccmd --quit
  19. ExecReload=/usr/bin/boinccmd --read_cc_config
  20. ExecStopPost=/bin/rm -f lockfile
  21. IOSchedulingClass=idle
  22. Restart=on-failure
  23. # The following options prevent setuid root as they imply NoNewPrivileges=true
  24. # Since Atlas requires setuid root, they break Atlas
  25. # In order to improve security, if you're not using Atlas,
  26. # Add these options to the [Service] section of an override file using
  27. # sudo systemctl edit boinc-client.service
  28. #NoNewPrivileges=true
  29. #ProtectKernelModules=true
  30. #ProtectKernelTunables=true
  31. #RestrictRealtime=true
  32. #RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
  33. #RestrictNamespaces=true
  34. #PrivateUsers=true
  35. #CapabilityBoundingSet=
  36. #MemoryDenyWriteExecute=true
  37.  
  38. [Install]
  39. WantedBy=multi-user.target
  40.  
  41. $ ll /var/lib/boinc
  42. lrwxrwxrwx 1 boinc boinc 12 Sep 30 11:43 /var/lib/boinc -> boinc-client/
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top