I would like to point the PostgreSQL server to a particular non-default data directory upon startup. Right now, I have to (either manually or in a script) use pg_ctl
to stop and restart the database with my /new/path/to/data
.
A second related question: is there a place in the Ubuntu file system I can start looking when I have questions about what is being run at startup?
Thanks