Fixed oopsie

This commit is contained in:
b.waal 2023-11-07 16:45:12 +01:00
parent 703543fe21
commit 8de95a7dea

View File

@ -58,8 +58,8 @@ cd /opt/immich/
wget https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml wget https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
sed -i "s/KEY=some-random-text/KEY=$TypeSenseAPI/g" /opt/test/.env sed -i "s/KEY=some-random-text/KEY=$TypeSenseAPI/g" /opt/immich/.env
sed -i "s/DB_PASSWORD=postgres/DB_PASSWORD=$DBpassword/g" /opt/test/.env sed -i "s/DB_PASSWORD=postgres/DB_PASSWORD=$DBpassword/g" /opt/immich/.env
systemctl stop unattended-upgrades systemctl stop unattended-upgrades
wget $GIT/$BRANCH/Unattended-Security-Updates/20auto-upgrades -O /etc/apt/apt.conf.d/20auto-upgrades wget $GIT/$BRANCH/Unattended-Security-Updates/20auto-upgrades -O /etc/apt/apt.conf.d/20auto-upgrades