mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 03:35:54 +00:00
Update rybbit-install.sh
This commit is contained in:
@@ -32,7 +32,6 @@ msg_info "Setting up PostgreSQL Database"
|
||||
DB_NAME=rybbit_db
|
||||
DB_USER=rybbit
|
||||
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
|
||||
APP_SECRET=$(openssl rand -base64 32)
|
||||
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
|
||||
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
|
||||
|
||||
Reference in New Issue
Block a user