I have three versions of Postgres (8.4, 9.0, 9.1) running on my Ubuntu box. Each version is configured to listen on a different port. When I reboot the machine, only the 9.0 version starts automatically.

I can start the other versions manually via "sudo /etc/init.d/postgresql start 9.1", but I can't figure out where the configuration is that passes the parameter into the script when the server is booting.

Someone out there must know.


edit /etc/postgresql/$version/$clustername/start.conf. That file should be well self-documented

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.