Apache Autostart

Postado por: admin em 11 seg. 8th, 2008

Iniciar e reiniciar servidor Apache está configurado para iniciar automaticamente.
O servidor foi previamente definidas como segue.
 # cd /usr/local/etc/rc.d
# cp /usr/local/apache2/bin/apachectl /usr/local/etc/rc.d/apache.sh
# chmod 0755 /usr/local/etc/rc.d/apache.sh 
É, apachectl start para iniciar com ele recentemente, é o seguinte.
/etc/rc.local
 # Start Apache
/usr/local/apache2/bin/apachectl start 
apachectl passará se não souber como instalar versões diferentes e espera-se da seguinte forma.
 # which apachectl