0

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

palto
  • 209
  • 3
  • 12

1 Answers1

2

update-rc.d postgresql-8.4 defaults

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

joschi
  • 21,387
  • 3
  • 47
  • 50
  • 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 06 '10 at 10:00