mixed additions

This commit is contained in:
openoms
2023-07-31 21:51:28 +02:00
parent bedc0a35d5
commit 019d015af4
12 changed files with 339 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
hidden_service="xxxxxxxxxx.onion"
port=80
if ! torsocks nc -zv ${hidden_service} ${port}; then
echo "restart Tor"
sudo systemctl restart tor@default
fi