Linux – Start heartbeat automatically on reboot

heartbeatlinuxUbuntu

Newbie question, sorry – I've been googling 'start automatically on reboot ubuntu' and the like, but I'm not sure I've found the definitive answer.

I'm using Ubuntu 10.04 and I would like to make sure that heartbeat starts automatically whenever the server reboots.

Currently I am running the following manually:

$ /etc/init.d/heartbeat start

How can I make sure this is called whenever the server restarts?

One answer I googled suggested:

$ update-rc.d heartbeat defaults

would do the trick – is that correct?

Best Answer

Type update-rc.d heartbeat defaults

and it will be starting automaticly after reboot

if you wanna turn it off type 'update-rc.d -f heartbeat remove`