Distro-agnostic checking postgresql’s data directory
Distro-agnostic: set up initializations script for postgresql
Distro-agnostic way of checking if postgresql is installed.
Set our pg_hba.conf to our preferred defaults.
In postgresq.conf, toggle listen to * or specific IP or commented out