Description
Hi folks,
the innit process is great to just do exactly what it promises and it runs only the first time the data created as the rule is to check if a file was already created before running init to make sure it is ok
ie
postgres/9.6/docker-entrypoint.sh
Line 140 in bef7a7e
In my local processes for development I tend to use docker compose and unless i want a custom check to verify that a container is running i then listed to logs for a specific sentence. For instace for an apache container i check that this has run
[Tue Aug 15 12:57:35.380606 2017] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
If the init is running in the postgres container i can wait for
PostgreSQL init process complete; ready for start up.
Any objection to run an else condition to echo
PostgreSQL init process skipped; ready for start up.
I can create a PR but wanted to check with you before.