Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/allow-jmx-debug' into mutualize-…
Browse files Browse the repository at this point in the history
…kubernetes-client
  • Loading branch information
olevitt committed Dec 17, 2024
2 parents 6e87ee3 + b8bbd41 commit c3d9e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onyxia-api/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi
# Run application
if [ -n "$DEBUG_JMX" ]; then
JMX_PORT="${JMX_PORT:-10000}"
java -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false org.springframework.boot.loader.launch.JarLauncher
java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JMX_PORT -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=127.0.0.1 org.springframework.boot.loader.launch.JarLauncher
else
java org.springframework.boot.loader.launch.JarLauncher
fi

0 comments on commit c3d9e40

Please sign in to comment.