From 22e483a8a3d8d5db6abff71cab7b2605b3d04455 Mon Sep 17 00:00:00 2001 From: nemsia Date: Tue, 11 Apr 2017 13:39:37 +0200 Subject: Add create DB --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) 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';"\ -- cgit v1.2.3-70-g09d2