How to stop linux postgres?

In this article let’s discuss about How to stop linux postgres?. Let’s go through the following methods without any delay.

Method 1:

sudo service postgresql stop
sudo service postgresql start

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

sudo service redis-server stop
sudo service redis-server start

Hope the above solution works.

Realted Posts : How to uninstall node js in ubuntu?