mirror of
https://github.com/linuxserver/docker-deluge.git
synced 2026-02-20 01:01:35 +08:00
Use localhost for readiness checks
This commit is contained in:
parent
26b3169c4b
commit
0fb7ffbd44
@ -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}"
|
||||
|
||||
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user