NoNewPrivileges on most containers. drop all caps on a few others

This commit is contained in:
zenfyr 2026-01-11 14:11:56 +07:00
commit b3e4af5aca
Signed by: melontini
SSH key fingerprint: SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE
36 changed files with 80 additions and 1 deletions

View file

@ -8,6 +8,9 @@ AutoUpdate=registry
Network=host
Volume=/var/containers/tor/config:/etc/tor:ro,Z
Volume=/var/containers/tor/data:/var/lib/tor:Z
# Security
NoNewPrivileges=true
DropCapability=ALL
[Service]
Restart=always