scylla-jmx/dist/redhat/scripts/jmx_run
Shlomi Livne f162d740e0 Fix args for booting java process
args must be specified before jar file, updated args

Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
2015-09-17 14:52:56 +03:00

6 lines
314 B
Bash
Executable File

#!/bin/sh -e
args="-Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.port=$JMX_LOCAL_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmemote.ssl=false"
exec /usr/bin/java $args -jar /usr/lib/scylla/jmx/urchin-mbean-1.0.jar