2011-01-03 10:48:06 +00:00
|
|
|
description "Start the apache web server"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
|
|
|
|
|
|
|
start on (runlevel [345] and (started ifup))
|
|
|
|
stop on runlevel [0126]
|
|
|
|
|
|
|
|
console none
|
|
|
|
|
2011-08-19 09:27:45 +00:00
|
|
|
pre-start script
|
|
|
|
/sbin/CheckPid /var/run/httpd.pid
|
|
|
|
end script
|
|
|
|
|
2011-01-03 10:48:06 +00:00
|
|
|
expect fork
|
|
|
|
|
|
|
|
exec /opt/apache2/bin/httpd -k start
|
|
|
|
|