mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 14:01:56 +00:00
Update uptimekuma-update.sh
add directory check
This commit is contained in:
parent
4e025f460b
commit
e36b17de13
@ -45,6 +45,7 @@ function msg_ok() {
|
||||
echo -e "${BFR} ${CM} ${GN}${msg}${CL}"
|
||||
}
|
||||
|
||||
if [ ! -d "/opt/uptime-kuma" ]; then echo -e "No Uptime Kuma Directory Found."; exit; fi
|
||||
|
||||
msg_info "Stopping ${APP}"
|
||||
sudo systemctl stop uptime-kuma &>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user