add tor env switch

This commit is contained in:
2024-08-08 02:57:33 -07:00
parent b9a432b356
commit 4e948af492
6 changed files with 60 additions and 26 deletions

8
tor/entrypoint.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
if $USE_TOR ; then
echo "@@@@@@@@@@ TOR ENABLED BY ENV"
exec tor
else
echo "@@@@@@@@@@ TOR DISABLED BY ENV"
fi