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"1075
msg_info "Updating $APP"
systemctl stop zoraxy
cd /opt/zoraxy/src
systemctl stop zoraxy
if git pull | grep -q 'Already up to date.';then
msg_ok "Already up to date. No update required."
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi
exit
go mod tidy
go build
msg_ok "Updated $APP"
fi
systemctl start zoraxy
exit
}
start
build_container
description
msg_info "Setting Container to Normal Resources"
pct set$CTID -cores 2
msg_ok "Set Container to Normal Resources"
msg_ok "Completed Successfully!\n"
echo -e "${APP} should be reachable by going to the following URL.