test: update

This commit is contained in:
Kyle Kroboth 2025-03-12 23:00:46 -04:00
parent 8d1c6c82d0
commit 177d788d3f

View File

@ -31,6 +31,7 @@ function update_script() {
fi fi
UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable) UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
echo $UPDATE_AVAILABLE
if [[ "${UPDATE_AVAILABLE}" == "false" ]]; then if [[ "${UPDATE_AVAILABLE}" == "false" ]]; then
msg_info "Stopping $APP" msg_info "Stopping $APP"
systemctl stop fileflows systemctl stop fileflows