LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Custom startup script for apache - where to put them (https://www.linuxquestions.org/questions/linux-general-1/custom-startup-script-for-apache-where-to-put-them-575510/)

Swakoo 08-07-2007 10:27 PM

Custom startup script for apache - where to put them
 
I have a simple startup script for apache, but where is the de facto place to put it?

its currently in /root/bin/apache_start

any tips?

reddazz 08-08-2007 04:15 AM

You could put the commands in /etc/rc.d/rc.local or create a service using chkconfig.

Swakoo 08-10-2007 04:16 AM

so there's no real standard recommended way of doing it?

reddazz 08-10-2007 06:11 AM

Chkconfig is probably the standard way on Redhat based distros. You can find out more about making your scripts work with chkconfig in the LQ Wiki.


All times are GMT -5. The time now is 04:55 PM.