浏览代码

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.
intrigeri 9 年之前
父节点
当前提交
da384090f7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      contrib/dist/tor.service.in

+ 1 - 0
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]