Unverified Commit b1dcb1b5 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Store IP

parent 61046d21
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -179,6 +179,9 @@ else
  # Configuration for DHCP IP
  configureDHCP

  # Store IP for Docker healthcheck
  echo "${DHCP_IP}" > "/var/dsm.ip"

  # Display the received IP on port 5000
  /run/server.sh 5000 "The location of DSM is http://${DHCP_IP}:5000" > /dev/null &