mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Prefix ReadWriteDirectories with a "-" so if they don't exist it's not an error
See 13805
This commit is contained in:
parent
9c933b3635
commit
0c73bcd3ba
6
contrib/dist/tor.service.in
vendored
6
contrib/dist/tor.service.in
vendored
@ -19,9 +19,9 @@ PrivateTmp = yes
|
||||
PrivateDevices = yes
|
||||
ProtectHome = yes
|
||||
ReadOnlyDirectories = /
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/log/tor
|
||||
ReadWriteDirectories = @LOCALSTATEDIR@/run/tor
|
||||
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
||||
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
||||
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
||||
NoNewPrivileges = yes
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user