mirror of https://github.com/zulip/zulip.git
postgres-init-db: Fix running with cwd=/root.
(imported from commit d2ac25fa8c54b89eed80e941b3eacf1a4c2f5546)
This commit is contained in:
parent
ae4cb6df35
commit
2348a83678
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh -xe
|
||||
|
||||
# Make sure the current working directory is readable
|
||||
cd /
|
||||
|
||||
su postgres -c psql <<EOF
|
||||
CREATE USER zulip;
|
||||
ALTER ROLE zulip SET search_path TO zulip,public;
|
||||
|
|
Loading…
Reference in New Issue