diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-28 20:52:28 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-28 20:52:28 -0500 |
commit | ed68527b2faf3b9e08b3e059f95c1183d789c5c8 (patch) | |
tree | 91cf6c0c71df61aa132eba85903e2953b091aa0e /core | |
parent | 9b83fa093e869af425cbf6d99829a40156b4bd6a (diff) | |
download | yt-local-docker-ed68527b2faf3b9e08b3e059f95c1183d789c5c8.tar.lz yt-local-docker-ed68527b2faf3b9e08b3e059f95c1183d789c5c8.tar.xz yt-local-docker-ed68527b2faf3b9e08b3e059f95c1183d789c5c8.zip |
minor fix
Diffstat (limited to 'core')
-rw-r--r-- | core/entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/entrypoint.sh b/core/entrypoint.sh index ff717a9..23dc9d9 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -92,7 +92,7 @@ EOF while :; do checkurl=$(curl --socks5 "localhost:${TOR_PORT:-9050}" -o /dev/null -s -w "%{http_code}\n" "${URL_CHECK:-https://www.youtube.com/results?search_query=rms}") if [ "$checkurl" = '502' ] || [ "$checkurl" = '302' ]; then - pkill tor && tor -f /etc/tor/torrc --runasdaemon 0 2>&1 + pkill tor && tor -f /etc/tor/torrc --runasdaemon 1 2>&1 pkill python3 && /usr/bin/python3 /srv/app/server.py else pgrep python3 > /dev/null || exec /usr/bin/python3 /srv/app/server.py |