fix: use localhost
This commit is contained in:
parent
7a1800f7fe
commit
68f6f35a0d
@ -30,7 +30,7 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://${IP}: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)
|
||||||
if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then
|
if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then
|
||||||
msg_info "Stopping $APP"
|
msg_info "Stopping $APP"
|
||||||
systemctl stop fileflows
|
systemctl stop fileflows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user