diff --git a/deploy_authelia.sh b/deploy_authelia.sh index e93b34a..591bd31 100644 --- a/deploy_authelia.sh +++ b/deploy_authelia.sh @@ -24,13 +24,8 @@ fi # ##### then we install authelia # #################################### -apt update -apt install -y curl gnupg apt-transport-https sudo -curl -s https://apt.authelia.com/organization/signing.asc | sudo apt-key add - -echo "deb https://apt.authelia.com/stable/debian/debian/ all main" >>/etc/apt/sources.list.d/authelia.list -apt-key export C8E4D80D | sudo gpg --dearmour -o /usr/share/keyrings/authelia.gpg -apt update -apt install -y authelia +yay -Sy +yay --noconfirm -S authelia-bin wget # #################################### # ##### Now we create the secrets @@ -51,21 +46,6 @@ AUTHELIA_IDENTITY_PROVIDERS_OIDC_ISSUER_PRIVATE_KEY_FILE=/etc/authelia/.secrets/ EOF chmod 600 -R /etc/authelia/.secrets/ chmod 600 /etc/authelia/secrets -(cat >/etc/systemd/system/authelia.service) <