From 47bbc6b7cbd917f7ae702fecaf0de75866d0a3b9 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Wed, 29 Apr 2020 09:48:24 +0200 Subject: network/tor: Create /var/run/tor at daemon start. Signed-off-by: Matteo Bernardini --- network/tor/rc.tor | 2 ++ 1 file changed, 2 insertions(+) (limited to 'network/tor') diff --git a/network/tor/rc.tor b/network/tor/rc.tor index 11daf8a95abbe..53ab0ed110f1a 100644 --- a/network/tor/rc.tor +++ b/network/tor/rc.tor @@ -34,6 +34,8 @@ else fi tor_start() { + mkdir -p /var/run/tor + chown tor.tor /var/run/tor if [ -n "$MAX_FILEDESCRIPTORS" ]; then echo -n "Raising maximum number of filedescriptors (ulimit -n) to $MAX_FILEDESCRIPTORS" if ulimit -n "$MAX_FILEDESCRIPTORS" ; then -- cgit v1.2.3