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.
Written by Daniel Alejandro Gaytán Valencia
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#