test: undo testing
This commit is contained in:
parent
b6c0430e46
commit
5683b00f54
@ -31,8 +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)
|
||||||
msg_error $UPDATE_AVAILABLE
|
if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then
|
||||||
if [[ "${UPDATE_AVAILABLE}" == "false" ]]; then
|
|
||||||
msg_info "Stopping $APP"
|
msg_info "Stopping $APP"
|
||||||
systemctl stop fileflows
|
systemctl stop fileflows
|
||||||
msg_ok "Stopped $APP"
|
msg_ok "Stopped $APP"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user