Refactor: Beszel (#10195)

* Refactor

* Update

* Update

* Update
This commit is contained in:
Slaviša Arežina
2025-12-23 14:19:03 +01:00
committed by GitHub
parent e819bf69f2
commit f6f4c3411c
2 changed files with 15 additions and 16 deletions

View File

@@ -13,11 +13,7 @@ setting_up_container
network_check
update_os
msg_info "Installing Beszel"
mkdir -p /opt/beszel
curl -fsSL "https://github.com/henrygd/beszel/releases/latest/download/beszel_$(uname -s)_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/armv6l/arm/' -e 's/armv7l/arm/' -e 's/aarch64/arm64/').tar.gz" | tar -xz -O beszel | tee /opt/beszel/beszel >/dev/null
chmod +x /opt/beszel/beszel
msg_ok "Installed Beszel"
fetch_and_deploy_gh_release "beszel" "henrygd/beszel" "prebuild" "latest" "/opt/beszel" "beszel_linux_amd64.tar.gz"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/beszel-hub.service