summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-22 10:31:24 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-22 10:31:24 -0400
commitbc758e4a5e10739d65eafa9ce2624c49859f317b (patch)
tree12472cd318d820215c8359d1c72b25bef09732dc
parent4c8b809b9619770e29aa3c5ab66b194f784a9e93 (diff)
parent2f47ab247af79203ba08dec718306c416db41372 (diff)
downloadtor-bc758e4a5e10739d65eafa9ce2624c49859f317b.tar.gz
tor-bc758e4a5e10739d65eafa9ce2624c49859f317b.zip
Merge remote-tracking branch 'intrigeri/bug13196-systemd-writable-run-directory'
-rw-r--r--changes/bug13196-systemd-writable-run-directory3
-rw-r--r--contrib/dist/tor.service.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug13196-systemd-writable-run-directory b/changes/bug13196-systemd-writable-run-directory
new file mode 100644
index 0000000000..737c354984
--- /dev/null
+++ b/changes/bug13196-systemd-writable-run-directory
@@ -0,0 +1,3 @@
+ o Distribution:
+ - systemd unit file: set up /var/run/tor as writable for the Tor service.
+ Patch by intrigeri; resolves ticket 13196.
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in
index 20ceecf0ca..57409a7b0a 100644
--- a/contrib/dist/tor.service.in
+++ b/contrib/dist/tor.service.in
@@ -22,6 +22,7 @@ InaccessibleDirectories = /home
ReadOnlyDirectories = /
ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
ReadWriteDirectories = @LOCALSTATEDIR@/log/tor
+ReadWriteDirectories = @LOCALSTATEDIR@/run/tor
NoNewPrivileges = yes
[Install]