site/tor/entrypoint.sh

9 lines
135 B
Bash
Raw Normal View History

2024-08-08 11:42:12 +00:00
#!/bin/ash
2024-08-08 09:57:33 +00:00
if $USE_TOR ; then
echo "@@@@@@@@@@ TOR ENABLED BY ENV"
2024-08-08 11:42:12 +00:00
exec /usr/bin/tor
2024-08-08 09:57:33 +00:00
else
echo "@@@@@@@@@@ TOR DISABLED BY ENV"
fi