poprawiamy postgresowe start
parent
ee45f6505f
commit
05a359bfe9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue