|
|
@ -66,7 +66,7 @@ cd /opt/apps/myc-deploy |
|
|
|
cat <<EOF > /root/.pgm.rc |
|
|
|
prefix_pg_local_command=" " ## otherwise, will default to sudo -u postgres |
|
|
|
|
|
|
|
pgpass="/srv/datastore/data/postgres/var/lib/postgresql/data/pgpass" |
|
|
|
pgpass="/srv/datastore/data/postgres/var/lib/postgresql/data/pgpass" |
|
|
|
[ -f "\$pgpass" ] || { |
|
|
|
echo "No '\$pgpass' found. Postgres database doesn't seem to be setup." >&2 |
|
|
|
exit 1 |
|
|
|