In the day time I do software development where I use Postgres via Django on Ubuntu.
In the evening the computer is my personal laptop (still running Ubuntu).
How can I make Postgres startup when it receives a connection, and shut down if there is no activity for a while ?
I use systemd run services - so I imagine the startup part must be relatively straightforward ?