fixed issue in docker-entrypoint

This commit is contained in:
Paulino Padial 2018-01-23 18:32:57 +01:00
parent 01f6f01f24
commit 7b96dd80d5

View File

@ -24,7 +24,7 @@ fi
# Create the file
cat <<-EOF > ${HOME}/.pgpass
${DBHOST}:*:*:${USERNAME}:${PASSPHRASE}
${DBHOST}:*:*:${USERNAME:-postgres}:${PASSPHRASE}
EOF
# Execute cron with parameters (autopostgresql script is under /etc/cron.daily)