To configure runlevels on Ubuntu use the 'update-rc.d' tool. For example to ensure the '/etc/init.d/blah' script gets started and stopped in the normal runlevels, use:
sudo update-rc.d blah defaults
The equivalent tool on Red Hat is 'chkconfig', use:
sudo chkconfig blah on
No comments:
Post a Comment