Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Postgresql 8.4 from Ubuntu Software Center. I would like to make it start automatically on boot. Any tips? :)

share|improve this question
up vote 2 down vote accepted

update-rc.d postgresql-8.4 defaults

Make sure you read update-rc.d(8).

share|improve this answer
When I tried using this and it said postgresql is already supposed to start at boot. When viewing log files I noticed that there was error and that's why it doesn't start on boot. Still good to know this command if I need to setup other services to start at boot. – palto Sep 6 '10 at 10:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.