toolkit/func/core/pkg_postgresql/11-create-user.sh

5 lines
133 B
Bash
Executable File

#!/bin/bash
r_log "postgresql" "Creating user"
su - postgres -c 'createuser -S -R -D testuser' > /dev/null 2>&1
r_checkExitStatus $?