Skip to content
Snippets Groups Projects
Commit a46934c8 authored by Michael Koppmann's avatar Michael Koppmann Committed by Rigel Kent
Browse files

more systemd service hardening (#1488)

parent ab4dbe36
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,11 @@ PrivateDevices=false
; Ensures that the service process and all its children can never gain new
; privileges through execve().
NoNewPrivileges=true
; This makes /home, /root, and /run/user inaccessible and empty for processes invoked
; by this unit. Make sure that you do not depend on data inside these folders.
ProtectHome=true
; Drops the sys admin capability from the daemon.
CapabilityBoundingSet=~CAP_SYS_ADMIN
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment