From 04ab232a27117c0b8798cae79e4479dd680b1407 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Fri, 9 May 2025 00:45:54 +0200 Subject: [PATCH] update gatus --- ct/alpine-gatus.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/alpine-gatus.sh b/ct/alpine-gatus.sh index 8f71864..027699f 100644 --- a/ct/alpine-gatus.sh +++ b/ct/alpine-gatus.sh @@ -29,6 +29,7 @@ function update_script() { RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [ "${RELEASE}" != "$(cat /opt/gatus_version.txt)" ] || [ ! -f /opt/gatus_version.txt ]; then msg_info "Updating ${APP} LXC" + $STD apk -U upgrade $STD service gatus stop mv /opt/gatus/config/config.yaml /opt rm -rf /opt/gatus/*