scripts/start-watchdog-socks5.sh aktualisiert

This commit is contained in:
2024-04-10 16:47:21 +02:00
parent f79c9ce432
commit f745ec43e7

View File

@@ -4,7 +4,7 @@ killpid="$(pidof socks5)"
while true
do
tail --pid=$killpid -f /dev/null
kill "$(pidof tail)"
kill -SIGTERM $(pidof sleep)
echo "---SOCKS5 crashed, restarting container!---"
exit 0
done