From ca2d9e8da04e3e29d4916af876ef70dd1332601a Mon Sep 17 00:00:00 2001 From: Axel Uhl Date: Fri, 24 Jul 2015 18:40:16 +0200 Subject: [PATCH] stop script now issues "shutdown" instead of "exit" to cleanly shut down all bundles --- java/target/stop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/target/stop b/java/target/stop index 546e03a7e30..bf056d5ddda 100755 --- a/java/target/stop +++ b/java/target/stop @@ -15,7 +15,7 @@ if [[ $TELNET_PORT == "" ]] || [[ $TELNET_ACTIVE == "" ]]; then fi else NC_CMD="nc -t 127.0.0.1 $TELNET_PORT" - echo -n exit | $NC_CMD > /dev/null + echo -n shutdown | $NC_CMD > /dev/null echo "Stopped server $SERVER_NAME" if [[ $SERVER_STARTUP_NOTIFY != "" ]]; then