diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-10 19:57:57 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-10 19:57:57 -0500 |
commit | 3b7e6caa66799c5d35cc8c58e502e1a1a0dbd329 (patch) | |
tree | 0cb29e872cf72c1250a1d9aec6d563bac6c176ef /core/entrypoint-tor.sh | |
parent | c9138050744d54bdc4c86fbe65065b4b3afeaf19 (diff) | |
download | yt-local-docker-3b7e6caa66799c5d35cc8c58e502e1a1a0dbd329.tar.lz yt-local-docker-3b7e6caa66799c5d35cc8c58e502e1a1a0dbd329.tar.xz yt-local-docker-3b7e6caa66799c5d35cc8c58e502e1a1a0dbd329.zip |
tor-support: update
Diffstat (limited to 'core/entrypoint-tor.sh')
-rw-r--r-- | core/entrypoint-tor.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/entrypoint-tor.sh b/core/entrypoint-tor.sh index 17f526f..0bfabfe 100644 --- a/core/entrypoint-tor.sh +++ b/core/entrypoint-tor.sh @@ -14,7 +14,7 @@ EOF if pgrep tor > /dev/null 2>&1; then checkurl=$(curl --socks5 "localhost:${TOR_PORT:-9050}" -o /dev/null 2>&1 -s -w "%{http_code}\n" "${URL_CHECK:-https://www.youtube.com/results?search_query=rms}") case ${checkurl} in - 302|502) pkill tor > /dev/null 2>&1 && tor -f /etc/tor/torrc --runasdaemon 1 ;; + 302|502|500) pkill tor > /dev/null 2>&1 && tor -f /etc/tor/torrc --runasdaemon 1 ;; esac else tor -f /etc/tor/torrc --runasdaemon 1 |