Update 99-run.sh

This commit is contained in:
Alexandre
2023-01-23 10:48:58 +01:00
committed by GitHub
parent 0aad7506ae
commit 6cb6afafb1

View File

@@ -84,8 +84,8 @@ case $(bashio::config 'database') in
CREATE DATABASE immich; CREATE USER immich WITH ENCRYPTED PASSWORD 'immich';
GRANT ALL PRIVILEGES ON DATABASE immich to immich;
\q"> setup_postgres.sql
# shellcheck disable=SC2024
chown postgres setup_postgres.sql
# shellcheck disable=SC2024
sudo -iu postgres psql < setup_postgres.sql
rm setup_postgres.sql