mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 14:25:53 +00:00
fixes
This commit is contained in:
16
ct/reitti.sh
16
ct/reitti.sh
@@ -39,7 +39,21 @@ function update_script() {
|
||||
msg_info "Starting Service"
|
||||
systemctl start reitti
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated Successfully"
|
||||
msg_ok "Updated Successfully!"
|
||||
fi
|
||||
if check_for_gh_release "photon" "dedicatedcode/reitti"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop photon
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
rm -f /opt/photon/photon.jar
|
||||
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "photon" "komoot/photon" "singlefile" "latest" "/opt/photon" "photon-0*.jar"
|
||||
mv /opt/photon/photon-*.jar /opt/photon/photon.jar
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start photon
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated Successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user