kopia lustrzana https://github.com/kartoza/docker-postgis
Fix for postgis not going into foreground after setup
rodzic
b3e2747c5d
commit
b71947458a
|
@ -0,0 +1,2 @@
|
|||
.idea
|
||||
*.*~
|
|
@ -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"
|
||||
|
|
Ładowanie…
Reference in New Issue