diff --git a/scripts/install b/scripts/install index 432b1ad..f5bc3dc 100644 --- a/scripts/install +++ b/scripts/install @@ -65,10 +65,10 @@ curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - sudo apt-get -y install nodejs sudo npm install -g yarn -# Create DB user +# Create DB user mastodon ynh_psql_create_user_without_password "$app" -# Create user mastodon and set UTF8 encoding by default +# Set UTF8 encoding by default sudo su -c "psql" postgres <<< \ "update pg_database set datistemplate='false' where datname='template1';"\ "drop database template1;"\