From 0c73bcd3ba7f5fb724a4ecb9f2057a40dd1a2582 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Fri, 28 Nov 2014 12:38:40 -0500 Subject: [PATCH] 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 0e1e6cce40..5cd460e383 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 = -@LOCALSTATEDIR@/lib/tor +ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor +ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor NoNewPrivileges = yes [Install]