Save Beszel version (#14389)

This commit is contained in:
Luca Comellini
2026-05-10 12:34:19 -07:00
committed by GitHub
parent 5c9facd1f1
commit 3352c8a63e

View File

@@ -36,7 +36,9 @@ function update_script() {
msg_info "Updating Beszel"
$STD /opt/beszel/beszel update
sleep 2 && chmod +x /opt/beszel/beszel
msg_ok "Updated Beszel"
VERSION=$(/opt/beszel/beszel -v | awk '{print $3}')
echo "${VERSION}" >$HOME/.beszel
msg_ok "Updated Beszel to ${VERSION}"
msg_info "Starting Service"
systemctl start beszel-hub