stop script now issues "shutdown" instead of "exit" to cleanly shut down all bundles

This commit is contained in:
Axel Uhl committed 2015-07-24 18:40:16 +02:00
1 parent 2198462251
commit ca2d9e8da0
1 file changed
+1 -1
+1 -1
View File
@@ -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