Update 99-run.sh

This commit is contained in:
Alexandre
2023-01-23 10:30:34 +01:00
committed by GitHub
parent d21e1f1d86
commit e14eb154aa

View File

@@ -84,6 +84,7 @@ 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
sudo -iu postgres psql < setup_postgres.sql
rm setup_postgres.sql