Postgresql startup timing

after startup I get in a postgresql client(python) a connection refused error

this can be solved by stop/start postgresql.service

permanent solution is in file /usr/lib/systemd/system/postgresql.service:
change ‘’ to ‘’

running fedora 31 xfce

Be careful editing those files. In the file you are explicitly warned that upgrades may replace the file itself. You are also told to how to make user defined changes that will last as

Reading that man page gives a lot of detail and explains the priority in which files are processed.

1 Like

I know, but I assume and hope that this correction will be adapted in a future update

thanks for your comment