poprawiamy postgresowe start

master
Michał 'rysiek' Woźniak 2015-01-05 03:54:48 +01:00
parent ee45f6505f
commit 05a359bfe9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ su -c '/usr/lib/postgresql/9.3/bin/initdb /var/lib/postgresql/9.3/main' postgres
# config
# TODO: this needs to be much mroe specific for production!
echo "host any any 172.17.0.0/16 trust" >> /etc/postgresql/9.3/main/pg_hba.conf
echo "host any any `hostname -I | sed 's/ //g'`/16 trust" >> /etc/postgresql/9.3/main/pg_hba.conf
# create the needed databases
/etc/init.d/postgresql start