Use localhost instead of 127.0.0.1 for readiness check

pull/341/head
TheSpad 2 years ago
parent 0c17a07f26
commit df7c0867e8
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

@ -4,5 +4,5 @@ echo "Starting Plex Media Server. . . (you can ignore the libusb_init error)"
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 32400" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 32400" \
s6-setuidgid abc "/usr/lib/plexmediaserver/Plex Media Server"

Loading…
Cancel
Save