how to stop postgres server code example
Example: stpop start psql server
sudo service postgresql start
sudo service postgresql stop
sudo service postgresql restart
sudo service postgresql start
sudo service postgresql stop
sudo service postgresql restart