I don't get why you add a "\n" at the beginning here, or at the end. If I understand correctly, the output of this whole section whill be:

```
Waiting for postgresql to be up...

Done

```

Why not condense this to a one-liner, like this:

```
Waiting for postgresql to be up... done.
```

?