This commit is contained in:
TheiLLeniumStudios
2023-02-07 11:28:59 +00:00
parent c2f01bf4a9
commit 211eee7110
+2 -2
View File
@@ -72,12 +72,12 @@ if ! is_array_empty "$resources_to_restart"; then
echo "Ignoring restart of the resource ${resource}" echo "Ignoring restart of the resource ${resource}"
else else
echo "Restarting ${resource}" echo "Restarting ${resource}"
icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD} #icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD}
fi fi
done done
else else
echo "Will restart the whole server" echo "Will restart the whole server"
icecon --command "quit" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}" #icecon --command "quit" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}"
fi fi
else else
echo "Nothing to restart" echo "Nothing to restart"