From be6f814c8aac8d297db4d5f06ef6c35c18535b05 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Jun 2025 20:34:07 +0200 Subject: [PATCH] superuser --- install/mealie-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/mealie-install.sh b/install/mealie-install.sh index 5b9d3c00..3e5d954f 100644 --- a/install/mealie-install.sh +++ b/install/mealie-install.sh @@ -35,6 +35,7 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCO $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC'" +$STD sudo -u postgres psql -c "ALTER USER $DB_USER WITH SUPERUSER;" { echo "Mealie-Credentials" echo "Mealie Database User: $DB_USER"