Minor fixes from havard's review

This commit is contained in:
Rémi Bédard-Couture 2024-11-24 12:52:05 -05:00
parent bce51bfb3c
commit a8a20bca7b
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ check_container_resources
if [[ ! -f /etc/systemd/system/authentik-server.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
RELEASE=$(curl -s https://api.github.com/repos/goauthentik/authentik/releases/latest | grep "tarball_url" | awk '{print substr($2, 2, length($2)-3)}')
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
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 ${APP}"
systemctl stop authentik-server
systemctl stop authentik-worker

View File

@ -6,7 +6,7 @@
],
"date_created": "2024-11-06",
"type": "ct",
"updateable": false,
"updateable": true,
"privileged": false,
"interface_port": "9000",
"documentation": "https://docs.goauthentik.io/docs/",