Prefix ReadWriteDirectories with a "-" so if they don't exist it's not an error

See 13805
This commit is contained in:
Craig Andrews 2014-11-28 12:38:40 -05:00
parent 9c933b3635
commit 0c73bcd3ba

View File

@ -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]