Fix for postgis not going into foreground after setup

pull/11/head
Tim Sutton 2014-12-06 21:03:25 +07:00
rodzic b3e2747c5d
commit b71947458a
2 zmienionych plików z 6 dodań i 2 usunięć

2
.gitignore vendored 100644
Wyświetl plik

@ -0,0 +1,2 @@
.idea
*.*~

Wyświetl plik

@ -101,5 +101,7 @@ fi
# This should show up in docker logs afterwards
su - postgres -c "psql -l"
wait $!
echo "Postgres process terminated"
PID=`cat /var/run/postgresql/9.3-main.pid`
kill -9 ${PID}
echo "Postgres initialisation process completed .... restarting in foreground"
su - postgres -c "$POSTGRES -D $DATADIR -c config_file=$CONF"