authelia - extract tarball to tmp

This commit is contained in:
bunkerity 2022-07-19 17:06:44 +02:00
parent 02db54ce0d
commit 44fbf03158
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 3 additions and 4 deletions

View File

@ -6,10 +6,9 @@ if [ $(id -u) -ne 0 ] ; then
fi
curl https://github.com/authelia/authelia/releases/download/v4.36.2/authelia-v4.36.2-linux-amd64.tar.gz -Lo /tmp/authelia.tar.gz
cd /tmp/
tar -xvzf authelia.tar.gz
mv authelia-linux-amd64 /usr/bin/authelia
mv authelia.service /etc/systemd/system
tar -xvzf /tmp/authelia.tar.gz -C /tmp
mv /tmp/authelia-linux-amd64 /usr/bin/authelia
mv /tmp/authelia.service /etc/systemd/system
mkdir /etc/authelia
cp ./authelia/* /etc/authelia
sed -i "s@/config/@/etc/authelia/@g" /etc/authelia/configuration.yml