diff options
author | Craig Andrews <candrews@integralblue.com> | 2014-11-28 12:38:40 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2014-11-28 12:38:40 -0500 |
commit | 0c73bcd3ba7f5fb724a4ecb9f2057a40dd1a2582 (patch) | |
tree | 67d941c6ab96b8a42dadc095e750c55d3ac4152f /contrib | |
parent | 9c933b3635d9d7e30ff43494aa4efac65ab99b16 (diff) | |
download | tor-0c73bcd3ba7f5fb724a4ecb9f2057a40dd1a2582.tar.gz tor-0c73bcd3ba7f5fb724a4ecb9f2057a40dd1a2582.zip |
Prefix ReadWriteDirectories with a "-" so if they don't exist it's not an error
See 13805
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/dist/tor.service.in | 6 |
1 files 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] |