You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
261 B
Bash
17 lines
261 B
Bash
3 years ago
|
#!/bin/bash
|
||
|
|
||
|
function main() {
|
||
|
file_env POSTGRES_DB
|
||
|
file_env POSTGRES_PASSWORD
|
||
|
file_env POSTGRES_USER
|
||
|
|
||
|
create-pg-pass
|
||
|
|
||
|
while true; do
|
||
|
sleep 1m
|
||
|
done
|
||
|
}
|
||
|
|
||
|
source /usr/local/lib/functions.sh
|
||
|
source /usr/local/lib/pg-functions.sh
|
||
|
main
|