Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.