mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "4ad7bbd8848e63dd6073e67c1030f23f2637abfe" and "16bdcb3cb16974acd0ee84b67d22d5ed5deb45ff" have entirely different histories.
4ad7bbd884
...
16bdcb3cb1
|
@ -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 openobserve
|
||||
systemctl stop openobsecure
|
||||
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 openobserve
|
||||
systemctl start openobsecure
|
||||
msg_ok "Updated $APP"
|
||||
exit
|
||||
}
|
||||
|
|
|
@ -55,7 +55,6 @@ header_info
|
|||
if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
update
|
||||
msg_ok "Updated $APP"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
|
|
Loading…
Reference in New Issue