diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-04-29 09:48:24 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:02:33 -0500 |
commit | 47bbc6b7cbd917f7ae702fecaf0de75866d0a3b9 (patch) | |
tree | 5d57e0c43d1ed87b8ced64789f11425932ffba5d /network/tor | |
parent | c920f65d43ea3e0f375a8c56b55e41dae9697b50 (diff) |
network/tor: Create /var/run/tor at daemon start.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/tor')
-rw-r--r-- | network/tor/rc.tor | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/network/tor/rc.tor b/network/tor/rc.tor index 11daf8a95abb..53ab0ed110f1 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 |