summaryrefslogtreecommitdiffstats
path: root/network/tor/rc.tor
diff options
context:
space:
mode:
Diffstat (limited to 'network/tor/rc.tor')
-rw-r--r--network/tor/rc.tor2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/tor/rc.tor b/network/tor/rc.tor
index 11daf8a95a..53ab0ed110 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