Thursday, October 29, 2009

Starting Process on Reboot

I set up a script to help me fire up MojoMojo and I need this to run on reboot. Here's the command I used:


# update-rc.d mojomojo-live defaults
update-rc.d: warning: /etc/init.d/mojomojo-live missing LSB information
update-rc.d: see
Adding system startup for /etc/init.d/mojomojo-live ...
/etc/rc0.d/K20mojomojo-live -> ../init.d/mojomojo-live
/etc/rc1.d/K20mojomojo-live -> ../init.d/mojomojo-live
/etc/rc6.d/K20mojomojo-live -> ../init.d/mojomojo-live
/etc/rc2.d/S20mojomojo-live -> ../init.d/mojomojo-live
/etc/rc3.d/S20mojomojo-live -> ../init.d/mojomojo-live
/etc/rc4.d/S20mojomojo-live -> ../init.d/mojomojo-live
/etc/rc5.d/S20mojomojo-live -> ../init.d/mojomojo-live


http://www.debuntu.org/how-to-manage-services-with-update-rc.d

There's a handy utility for checking to see init scripts and run levels:

sudo sysv-rc-conf