Set client_encoding to UTF8

This commit is contained in:
FusionPBX 2017-06-15 16:03:18 -07:00 committed by GitHub
parent b9120383c5
commit 69aab48f12
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ systemctl restart postgresql
cwd=$(pwd)
cd /tmp
#set client encoding
sudo -u postgres psql -c "SET client_encoding = 'UTF8';";
#add the database users and databases
sudo -u postgres psql -c "CREATE DATABASE fusionpbx;";
sudo -u postgres psql -c "CREATE DATABASE freeswitch;";