Add pg_reload_config

This commit is contained in:
FusionPBX 2022-01-15 18:56:22 -07:00 committed by GitHub
parent 115578fcf8
commit c6e1b8f60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -24,5 +24,8 @@ sudo -u postgres psql -p $database_port -c "GRANT ALL PRIVILEGES ON DATABASE fus
sudo -u postgres psql -p $database_port -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch to fusionpbx;" sudo -u postgres psql -p $database_port -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch to fusionpbx;"
sudo -u postgres psql -p $database_port -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch to freeswitch;" sudo -u postgres psql -p $database_port -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch to freeswitch;"
#reload the config
sudo -u postgres psql -p $database_port -c "SELECT pg_reload_conf();"
#restart postgres #restart postgres
service postgresql restart #systemctl restart postgresql