add tor env switch
This commit is contained in:
8
tor/entrypoint.sh
Executable file
8
tor/entrypoint.sh
Executable 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
|
Reference in New Issue
Block a user