Update openobserve.sh

fix spelling
fixes https://github.com/tteck/Proxmox/issues/1807
pull/1851/head
tteckster 1 year ago committed by GitHub
parent 16bdcb3cb1
commit 6d360c6d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,10 +56,10 @@ function update_script() {
header_info
if [[ ! -d /opt/openobserve/ ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP"
systemctl stop openobsecure
systemctl stop openobserve
LATEST=$(curl -sL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve
systemctl start openobsecure
systemctl start openobserve
msg_ok "Updated $APP"
exit
}

Loading…
Cancel
Save

Powered by BW's shoe-string budget.