theory/pgenv

Add support for a custom post-installation script to be run once

Closed this issue · 3 comments

The idea is to provide a way to let users to run a custom script at the very first start of the PostgreSQL cluster, so to allow them to automatically initialize their cluster(s).
The script has to be run only once per cluster, at the very first start of the instance. In that sense, is a special kind of post-start script.
See discussion in #70.

@theory can you please take a look at my implementation? If this is ok we can merge and issue a new release.

Looks good. Can you open a PR? Will pull it and try it out.

Looks good. Can you open a PR? Will pull it and try it out.

ops, sorry, I didn't have my coffee!