summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]