Ubuntu 16.04.1 LTS I have tried:
sudo update-rc.d -f postgresql remove
and
sudo vim /etc/postgresql/9.5/main/start.conf
then i change the word "auto" to "disabled"
Then i reboot the computer, and when it starts, i login and do:
sudo service --status-all | grep postgresql
Which returns:
[ + ] postgresql
So it is still starting when the server starts. What is left for me to do? I don't want this service running when the computer starts, only when i manually start it with:
sudo service postgresql start