mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01: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}"
|
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}"
|
msg_info "Stopping ${APP}"
|
||||||
sudo systemctl stop uptime-kuma &>/dev/null
|
sudo systemctl stop uptime-kuma &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user