Skip to content

Commit 2514e3a

Browse files
Closing external acces to DB
With those lines you were able to access the database engine externally, something you want not in a production environment.
1 parent 35d3f9f commit 2514e3a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

odoo_install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ sudo apt-get upgrade -y
5151
#--------------------------------------------------
5252
echo -e "\n---- Install PostgreSQL Server ----"
5353
sudo apt-get install postgresql -y
54-
55-
echo -e "\n---- PostgreSQL $PG_VERSION Settings ----"
56-
sudo sed -i s/"#listen_addresses = 'localhost'"/"listen_addresses = '*'"/g /etc/postgresql/9.3/main/postgresql.conf
5754

5855
echo -e "\n---- Creating the ODOO PostgreSQL User ----"
5956
sudo su - postgres -c "createuser -s $OE_USER" 2> /dev/null || true

0 commit comments

Comments
 (0)