PyInventory/deployment/postgres/init-user-db.sh

6 wiersze
92 B
Bash

2020-10-26 17:00:02 +00:00
#!/bin/bash
set -ex
2020-11-14 13:32:38 +00:00
psql -U postgres -c "CREATE DATABASE \"$DB_NAME\" OWNER \"$DB_USER\""