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

4 lines
102 B
Bash
Executable file

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