This repository has been archived on 2023-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
c4k-jira/infrastructure/docker-backup/image/resources/entrypoint-start-and-wait.sh

17 lines
261 B
Bash
Raw Permalink Normal View History

2021-07-09 10:04:35 +00:00
#!/bin/bash
function main() {
file_env POSTGRES_DB
file_env POSTGRES_PASSWORD
file_env POSTGRES_USER
create-pg-pass
2021-07-09 10:04:35 +00:00
while true; do
sleep 1m
done
}
source /usr/local/lib/functions.sh
source /usr/local/lib/pg-functions.sh
main