mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
Set ProtectHome in systemd service file
Further hardening; the service should be run with as many restrictions as possible without breaking it.
This commit is contained in:
parent
639a416e37
commit
870d4152df
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ PrivateTmp=true
|
|||
# Mount /usr, /boot/ and /etc read-only for the process.
|
||||
ProtectSystem=full
|
||||
|
||||
# Deny access to /home, /root and /run/user
|
||||
ProtectHome=true
|
||||
|
||||
# Disallow the process and all of its children to gain
|
||||
# new privileges through execve().
|
||||
NoNewPrivileges=true
|
||||
|
|
Loading…
Reference in a new issue