There is no postgresql option in the autorun menu, but it starts when the system starts. Searches have failed. Can you help?
Asked
Active
Viewed 311 times
3 Answers
2
postgresql starts as a systemd service. To stop autorun of it, simply execute this command in terminal
sudo systemctl disable postgresql
This should disable autorun of postgresql upon boot. If you want to re-enable it, use
sudo systemctl enable postgresql
command.

Anwar
- 76,649
-
-
@muru maybe or may not be. That's not a point here. I request you not to draw such conclusion. Thanks! – Anwar May 24 '17 at 10:47
1
Since it is a service not a autorun program for your user you have to disable it via systemctl.
sudo systemctl disable postgresql.service

Ziazis
- 2,174
0
Use sudo update-rc.d postgresql disable
command to remove from autorun.

David Foerster
- 36,264
- 56
- 94
- 147
pg
too! – Anwar May 24 '17 at 10:29