[tor-commits] [tor/master] Prefix ReadWriteDirectories with a "-" so if they don't exist it's not an error
nickm at torproject.org
nickm at torproject.org
Sun Jan 11 16:27:22 UTC 2015
commit 0c73bcd3ba7f5fb724a4ecb9f2057a40dd1a2582
Author: Craig Andrews <candrews at integralblue.com>
Date: Fri Nov 28 12:38:40 2014 -0500
Prefix ReadWriteDirectories with a "-" so if they don't exist it's not an error
See 13805
---
contrib/dist/tor.service.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in
index 0e1e6cc..5cd460e 100644
--- a/contrib/dist/tor.service.in
+++ b/contrib/dist/tor.service.in
@@ -19,9 +19,9 @@ PrivateTmp = yes
PrivateDevices = yes
ProtectHome = yes
ReadOnlyDirectories = /
-ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
-ReadWriteDirectories = @LOCALSTATEDIR@/log/tor
-ReadWriteDirectories = @LOCALSTATEDIR@/run/tor
+ReadWriteDirectories = - at LOCALSTATEDIR@/lib/tor
+ReadWriteDirectories = - at LOCALSTATEDIR@/log/tor
+ReadWriteDirectories = - at LOCALSTATEDIR@/run/tor
NoNewPrivileges = yes
[Install]
More information about the tor-commits
mailing list