mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/tor: Create /var/run/tor at daemon start.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
c920f65d43
commit
47bbc6b7cb
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue