Add tor-check to CLI (#2412)

* Link tor-check

* Add tor-check.sh

* Improve code readability

* Link tor-check from postinst
This commit is contained in:
Mariusz Kogen
2023-09-13 20:25:00 +02:00
committed by GitHub
parent 394bc9ceb8
commit fcf1be52ac
2 changed files with 37 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ CookieAuthentication 1
EOF
rm -rf /var/lib/tor/*
ln -sf /usr/lib/embassy/scripts/tor-check.sh /usr/bin/tor-check
echo "fs.inotify.max_user_watches=1048576" > /etc/sysctl.d/97-embassy.conf