Reitti: Fix missing data directory (#8787)

* Reitti fix

* Update photon.service configuration in install script

* Update
This commit is contained in:
Slaviša Arežina
2025-10-31 17:15:28 +01:00
committed by GitHub
parent 7f86f98d8d
commit b715c1ed18
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ function update_script() {
msg_ok "Started Service" msg_ok "Started Service"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
fi fi
if check_for_gh_release "photon" "dedicatedcode/reitti"; then if check_for_gh_release "photon" "komoot/photon"; then
msg_info "Stopping Service" msg_info "Stopping Service"
systemctl stop photon systemctl stop photon
msg_ok "Stopped Service" msg_ok "Stopped Service"

View File

@@ -65,6 +65,7 @@ USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "photon" "komoot/photon
mv /opt/photon/photon-*.jar /opt/photon/photon.jar mv /opt/photon/photon-*.jar /opt/photon/photon.jar
msg_info "Creating Reitti Configuration-File" msg_info "Creating Reitti Configuration-File"
mkdir -p /opt/reitti/data
cat <<EOF >/opt/reitti/application.properties cat <<EOF >/opt/reitti/application.properties
# Reitti Server Base URI # Reitti Server Base URI
reitti.server.advertise-uri=http://127.0.0.1:8080 reitti.server.advertise-uri=http://127.0.0.1:8080