Update uptimekuma-v5.sh

tweak
This commit is contained in:
tteckster 2023-01-03 10:22:39 -05:00 committed by GitHub
parent 0a910530aa
commit 8dcfdff457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ function install_script() {
function update_script() { function update_script() {
clear clear
header_info header_info
LATEST=$(curl -sL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
msg_info "Stopping ${APP}" msg_info "Stopping ${APP}"
sudo systemctl stop uptime-kuma &>/dev/null sudo systemctl stop uptime-kuma &>/dev/null
msg_ok "Stopped ${APP}" msg_ok "Stopped ${APP}"