mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-04 18:32:51 +00:00
Reitti: Fix missing data directory (#8787)
* Reitti fix * Update photon.service configuration in install script * Update
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user