aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index f5bc3dc..7232b27 100644
--- a/scripts/install
+++ b/scripts/install
@@ -68,6 +68,9 @@ sudo npm install -g yarn
# Create DB user mastodon
ynh_psql_create_user_without_password "$app"
+# Create DB user mastodon
+ynh_psql_create_db_without_password "$app"
+
# Set UTF8 encoding by default
sudo su -c "psql" postgres <<< \
"update pg_database set datistemplate='false' where datname='template1';"\