Last Updated: February 25, 2016
·
681
· dangaytan

Postgresql start options on Ubuntu

I didn't know there was a file called start.conf inside the configuration directory of a postgresql cluster on Ubuntu (commonly located at /etc/postgresql/<version>/<cluster name>).

It changes the way you can control your pg cluster. It accepts 3 values described below:

  • auto: It can be controlled with an init.d script (sudo service postgresql start <version>)
  • manual: It can be controller only by the pg_ctlcluster command
  • disabled: It should not be started

This made me lose an hour, but I can control my postgresql clusters the right way.