reiniciar postgres ubuntu
sudo service postgresql restart
Upset Unicorn
sudo service postgresql restart
sudo service postgresql start
sudo service postgresql restart
# To restart the postgresql service
sudo /etc/init.d/postgresql restart
sudo service postgresql restart
sudo systemctl restart postgresql-13.service