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