I have Postgres db 9.1 running on AWS EC2 , with ubuntu 12.04 .
I messed up a lot with the instance (I installed all kinds of postgres XX before I settled on 9.1).
Now, after a month working on this db, I found that if I restart my postgres instance, it does not load correctly, its status says โCluster startโ. it will last forever until I
sudo service postgresql restart
from the terminal, and then it works again.
How to add this line to ubuntu startup so that every time it boots, it will restart this service and hopefully solve my problem?
Also any other solution that could solve this problem.
yaron May 13 '13 at 6:04 am
source share