Merge pull request #341 from linuxserver/localhost

Use localhost instead of 127.0.0.1 for readiness check
pull/353/head 1.29.1.6316-f4cdfea9c-ls140
aptalca 2 years ago committed by GitHub
commit 58f30bba5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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_MODEL=$(uname -m)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r) export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)
exec \ 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" s6-setuidgid abc "/usr/lib/plexmediaserver/Plex Media Server"

Loading…
Cancel
Save