restart postgres linux 2 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