test: update
This commit is contained in:
parent
8d1c6c82d0
commit
177d788d3f
@ -31,6 +31,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
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
|
||||
msg_info "Stopping $APP"
|
||||
systemctl stop fileflows
|
||||
|
Loading…
x
Reference in New Issue
Block a user