Use localhost for readiness checks

This commit is contained in:
TheSpad 2022-11-13 16:25:48 +00:00
parent 26b3169c4b
commit 0fb7ffbd44
No known key found for this signature in database
GPG Key ID: 08F06191F4587860
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@ if [[ -f /config/web.conf ]]; then
fi
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${DELUGE_WEB_PORT:-8112}" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${DELUGE_WEB_PORT:-8112}" \
s6-setuidgid abc /usr/bin/deluge-web \
-d -c /config --loglevel="${DELUGE_LOGLEVEL}"

View File

@ -16,6 +16,6 @@ if [[ -f /config/core.conf ]]; then
fi
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${DELUGED_PORT:-58846}" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${DELUGED_PORT:-58846}" \
s6-setuidgid abc /usr/bin/deluged -c /config \
-d --loglevel="${DELUGE_LOGLEVEL}"