There should be some sort of shell script that accepts the commands "start" and "stop" that was included with the distribution. Copy that script to /etc/rc.d/init.d
If they have the script set up right, you should be able to just do chkconfig SCRIPTNAME on to set it to go at boot. It will tell you if it runs into problems. If you can't get chkconfig to work with it, you can do it manually. The way the bootup sequence works, is that when Red Hat decides to enter runlevel 3, it looks in /etc/rc.d/rc3.d/, and runs all of the scripts prefixed with an S with a "start" argument, and all of the scripts prefixed with a K with a "stop" argument. It runs it in the order listed by their numbers (take a look at the files and you'll see what I mean). Anyway, to get your script to run in runlevel 3, do the following: cd /etc/rc.d/rc3.d/ ln -s ../init.d/SCRIPTNAME SXXSCRIPTNAME Then, in rc6.d do ln -s ../init.d/SCRIPTNAME KXXSCRIPTNAME This will cause it to be killed on reboot. Jon On Wed, 12 Jun 2002, dd27256 wrote: > I recently compiled and installed apache and mySql for redhat 7.3. I > need to have these services start up at boot time but I'm trying to get > away from redhat's setup programs. Does anyone know how to start > services at boot and/or point me to a good howToo? > > > > Thanks, > > > > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list