mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
stop script now issues "shutdown" instead of "exit" to cleanly shut down all bundles
This commit is contained in:
1 parent
2198462251
commit
ca2d9e8da0
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user