Update uptimekuma-v5.sh
tweak
This commit is contained in:
parent
0a910530aa
commit
8dcfdff457
1 changed files with 1 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue