LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   scripts (https://www.linuxquestions.org/questions/linux-newbie-8/scripts-27040/)

mdjames0 08-02-2002 08:45 AM

scripts
 
Does anyone know how to write a script for starting a daemon (apache) at bootup and to shutdown a daemon during runlevel 0 shutdown. I would aprecaite also if some one can tell me what command to use to find out what daemons are running.

Thanks

Mike

neo77777 08-02-2002 08:50 AM

man ps
man top
Now, to make apache start up on boot up we need more info, such as what distro are we talking about? Where's apache? Is apache a part of initial system install or you added it later?

mdjames0 08-02-2002 09:07 AM

distro rh7.3 location /usr/local installed after initial install of system

Thanks

mike

neo77777 08-02-2002 09:42 AM

That's fairly easy http://www.linuxquestions.org/questi...424#post104424

GrayLOK 08-02-2002 09:10 PM

Could always try installing and using Webmin. I am finding this a pretty cool tool. However, it's always good to know what script does what etc, I just find this a good starting point.


All times are GMT -5. The time now is 05:51 AM.