Startup Scripts


Forum: HD Install
Topic: Startup Scripts
started by: nbla

Posted by nbla on May 04 2005,09:25
Ok, so i installed DSL to the hdd, and installed jakarta tomcat. But I can't seem to find a Startupscript, like rc.local, to have it start whenever i reboot... any tips or suggestions? :)

thanks!

Posted by nbla on May 04 2005,12:14
ok i solved it by putting it in /etc/init.d/knoppix-autoconfig, but i dont know if this is the right way to do it :P
Posted by mikshaw on May 04 2005,13:20
You can add your commands to any startup script but to keep things organized, and to prevent problems with certain commands running too early, the standard place is /opt/bootlocal.sh

I assume it's in /opt rather than /etc/init.d so that it will be easy to manage in a backup/restore system.

Posted by nbla on May 04 2005,13:30
oh, ok, thanks for the tip! :)
Posted by friedgold on May 05 2005,13:31
Alternatively if installed via apt-get on a hdinstall it may have already put a init script in /etc/init.d/. If this is the case then it would be best to use update-rc.d to add it to your startup. Use man update-rc.d to findout the syntax.
Posted by avatar21 on Nov. 13 2005,15:34
Quote (nbla @ May 04 2005,05:25)
Ok, so i installed DSL to the hdd, and installed jakarta tomcat. But I can't seem to find a Startupscript, like rc.local, to have it start whenever i reboot... any tips or suggestions? :)

thanks!

I'm very stupid, since you have successfully install tomcat ... can anyone tell me how to do it? which copy of tomcat should I get (p.s. I'm a Windows user all the while)?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.