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

6 wiersze
84 B
Bash

#!/bin/bash
set -ex
psql -U postgres -c "CREATE DATABASE $DB_NAME OWNER $DB_USER"