Github bot : script beautyshied

This commit is contained in:
github-actions
2023-01-15 00:13:24 +00:00
parent c6b64eb880
commit 5fa94a4e6c

View File

@@ -83,7 +83,7 @@ case $(bashio::config 'database') in
echo "CREATE ROLE root WITH LOGIN SUPERUSER CREATEDB CREATEROLE PASSWORD 'securepassword';
CREATE DATABASE immich; CREATE USER immich WITH ENCRYPTED PASSWORD 'immich';
GRANT ALL PRIVILEGES ON DATABASE immich to immich;
\q"> setup_postgres.sql
\q"> setup_postgres.sql
chown postgres setup_postgres.sql
sudo -iu postgres psql < setup_postgres.sql
rm setup_postgres.sql