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 authored and GitHub committed 2025-10-31 09:15:28 -07:00
1 parent 7f86f98d8d
commit b715c1ed18
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ function update_script() {
msg_ok "Started Service"
msg_ok "Updated successfully!"
fi
if check_for_gh_release "photon" "dedicatedcode/reitti"; then
if check_for_gh_release "photon" "komoot/photon"; then
msg_info "Stopping Service"
systemctl stop photon
msg_ok "Stopped Service"
+1
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
msg_info "Creating Reitti Configuration-File"
mkdir -p /opt/reitti/data
cat <<EOF >/opt/reitti/application.properties
# Reitti Server Base URI
reitti.server.advertise-uri=http://127.0.0.1:8080