diff --git a/ct/reitti.sh b/ct/reitti.sh index 9407e7b7f..9c3d01ebd 100644 --- a/ct/reitti.sh +++ b/ct/reitti.sh @@ -32,6 +32,8 @@ function update_script() { systemctl stop reitti msg_ok "Stopped Service" + JAVA_VERSION="25" setup_java + rm -f /opt/reitti/reitti.jar USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "reitti" "dedicatedcode/reitti" "singlefile" "latest" "/opt/reitti" "reitti-app.jar" mv /opt/reitti/reitti-*.jar /opt/reitti/reitti.jar @@ -65,4 +67,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" \ No newline at end of file diff --git a/install/reitti-install.sh b/install/reitti-install.sh index 407306f18..f602dbde0 100644 --- a/install/reitti-install.sh +++ b/install/reitti-install.sh @@ -21,7 +21,7 @@ $STD apt install -y \ zstd msg_ok "Installed Dependencies" -JAVA_VERSION="24" setup_java +JAVA_VERSION="25" setup_java PG_VERSION="17" PG_MODULES="postgis" setup_postgresql PG_DB_NAME="reitti_db" PG_DB_USER="reitti" setup_postgresql_db