Weirdly, it seems postgres will display “database system is ready to accept connections“ in logs twice on startup:
Since it will restart before the first and second time it logs that sentence, we can’t really rely on logs to determine if postgres is ready… |