toolkit/func/core/pkg_postgresql/10-create-db.sh

5 lines
102 B
Bash
Executable File

#!/bin/bash
r_log "postgresql" "Creating db"
su - postgres -c 'createdb pg_test'
r_checkExitStatus $?