[tor-commits] [tor/master] systemd unit file: set up /var/run/tor as writable for the Tor service.

nickm at torproject.org nickm at torproject.org
Mon Sep 22 14:31:32 UTC 2014


commit da384090f752ab9eb46dc60728be8bfa11e8cb37
Author: intrigeri <intrigeri at boum.org>
Date:   Fri Sep 19 16:04:59 2014 +0000

    systemd unit file: set up /var/run/tor as writable for the Tor service.
    
    For some strange reason, this was not needed with systemd v208.
    But it's needed with systemd v215 on current Debian sid, and entirely
    makes sense.
---
 contrib/dist/tor.service.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in
index 20ceecf..57409a7 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]





More information about the tor-commits mailing list