From 0df0c8d02d2d59d0627a36035a0bd82bbb69e07e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 6 Sep 2023 17:17:52 -0600 Subject: [PATCH] Reload the Postgres config --- debian/resources/postgresql.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/resources/postgresql.sh b/debian/resources/postgresql.sh index 862ac8f..122d180 100755 --- a/debian/resources/postgresql.sh +++ b/debian/resources/postgresql.sh @@ -109,6 +109,9 @@ cwd=$(pwd) cd /tmp if [ ."$database_host" = ."127.0.0.1" ] || [ ."$database_host" = ."::1" ] ; then + #reload the config + sudo -u postgres psql -c "SELECT pg_reload_conf();" + # add the databases, users and grant permissions to them sudo -u postgres psql -c "CREATE DATABASE fusionpbx;"; sudo -u postgres psql -c "CREATE DATABASE freeswitch;";