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

5 lines
133 B
Bash
Raw Permalink Normal View History

2022-06-20 23:49:14 +00:00
#!/bin/bash
r_log "postgresql" "Creating user"
su - postgres -c 'createuser -S -R -D testuser' > /dev/null 2>&1
r_checkExitStatus $?