mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
systemd changes for 13805 as recommened by Tomasz on that ticket.
This commit is contained in:
parent
c98e075ebc
commit
96a407a243
3
contrib/dist/tor.service.in
vendored
3
contrib/dist/tor.service.in
vendored
@ -22,8 +22,9 @@ ProtectSystem = full
|
|||||||
ReadOnlyDirectories = /
|
ReadOnlyDirectories = /
|
||||||
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
||||||
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
||||||
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
|
||||||
NoNewPrivileges = yes
|
NoNewPrivileges = yes
|
||||||
|
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
||||||
|
CapabilityBoundingSet = CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy = multi-user.target
|
WantedBy = multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user