Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi All. I want to put this command:
cd /opt/WebShere ; startServer.sh server1
Into a file so it executes at boot time. I want it to be the last command to run in the boot up. Can it be done and if so where would I put the command? Thanks all.
First determine your default runlevel, then go to he directory of rc5.d inside /etc (the number 5 depends on your runlevel), there you'll find files with names S70DB2 or something like that.. to change the priority level (indicated by that 70) to something more then that of Websphere. You can change it by renaming the file only.
The answer to your question can be found in the following redpaper on the IBM site:
Title: IBM WebSphere V5.0 for Linux, Implementation and Deployment Guide: WebSphere Handbook Series
Location: Click here
Sample scripts are in Appendix C:
Last edited by Jay_Drummond; 01-05-2008 at 09:06 AM.