Allow postgres bootstrap to read generated SQL
This commit is contained in:
parent
2ef804fa10
commit
142c2ef778
1 changed files with 1 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ END
|
||||||
\$\$;
|
\$\$;
|
||||||
ALTER ROLE zulip WITH LOGIN PASSWORD '$db_password_sql';
|
ALTER ROLE zulip WITH LOGIN PASSWORD '$db_password_sql';
|
||||||
SQL
|
SQL
|
||||||
|
chmod 0644 "$setup_sql"
|
||||||
|
|
||||||
${pkgs.util-linux}/bin/runuser -u postgres -- psql -v ON_ERROR_STOP=1 -f "$setup_sql"
|
${pkgs.util-linux}/bin/runuser -u postgres -- psql -v ON_ERROR_STOP=1 -f "$setup_sql"
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue