Start script for apache
From Initq
If you have a lot of webservers running on one machine you may make a start up script like this to start them all up. Place the file in /etc/init.d/webservers and in the proper run levels.
#! /bin/sh # # apache servers startup script # # version 1.0 - 5 Jan 10 # case "$1" in start) /usr/httpd-2.0.63-can/bin/apachectl startssl /usr/httpd-2.0.63-expresstraining.greyhound.ca/bin/apachectl startssl /usr/httpd-2.0.63-maxtraining.greyhound.com/bin/apachectl startssl /usr/httpd-2.0.63-usa/bin/apachectl startssl /usr/httpd-2.0.63-canmax-2/bin/apachectl startssl /usr/httpd-2.0.63-canmax-4/bin/apachectl startssl /usr/httpd-2.0.63-canmaxtrain/bin/apachectl startssl /usr/httpd-2.0.63-max.greyhound.com/bin/apachectl startssl /usr/httpd-2.0.63-express.greyhound.ca/bin/apachectl startssl ;; stop) kill -9 `ps -ef|grep httpd|grep -v grep|awk '{print $2}'` ;; esac exit