Use localhost for readiness checks

This commit is contained in:
TheSpad 2022-11-08 15:58:40 +00:00
parent a68da5458c
commit bb91420247
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -14,6 +14,6 @@ if [[ -f "/config/sabnzbd.ini" ]]; then
fi
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${WEBUI_PORT:-8080}" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT:-8080}" \
s6-setuidgid abc python3 /app/sabnzbd/SABnzbd.py \
--config-file /config --server "$FAMILY"