On a Ubuntu 16.04 (Xenial) machine, I used apt-get install postgresql postgresql-contrib
to install postgresql 9.5 anew. To my surprise, by default it's finding the config files in the data directory as evidenced by:
postgres=# show hba_file;
hba_file
------------------------------------------
/var/lib/postgresql/9.5/main/pg_hba.conf
I would prefer they be in /etc/postgresql/9.5/main I have searched the docs for this answer and it eludes me.
How can I configure the server to always find them there, even after a restart (hence, making the configuration "sticky"?
Thanks