From 0ab315182519b8dca28e4c7d08fdbb9f3a3dd579 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 22 Oct 2024 15:26:32 -0400 Subject: [PATCH] Update vaultwarden.sh tweak --- ct/vaultwarden.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index 612a20ec..95b92bbb 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -57,7 +57,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your ${APP} LXC to ${var_cpu}vCPU and ${var_ram}RAM for the build process before continuing" 10 75 + VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') @@ -73,7 +73,7 @@ function update_script() { header_info if [ "$UPD" == "1" ]; then - echo -e "\n ⚠️ Ensure you set 4vCPU & 4096MiB RAM minimum!!! \n" + whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your ${APP} LXC to ${var_cpu}vCPU and ${var_ram}RAM for the build process before continuing" 10 75 msg_info "Stopping Vaultwarden" systemctl stop vaultwarden.service msg_ok "Stopped Vaultwarden"