mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Update 99-run.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user