démarrage au choix de apache ou de apache-ssl; selon ce qui est présent.
This commit is contained in:
parent
1ba7abc3b0
commit
8a4c1b5c28
|
@ -37,9 +37,14 @@ do
|
|||
done
|
||||
|
||||
echo "Starting Apache server..."
|
||||
apache -f `pwd`/root-tests/etc/apache/httpd.conf
|
||||
if [ -e /usr/sbin/apache ]
|
||||
then
|
||||
/usr/sbin/apache -f `pwd`/root-tests/etc/apache/httpd.conf
|
||||
elif [ -e /usr/sbin/apache-ssl ]
|
||||
/usr/sbin/apache-ssl -f `pwd`/root-tests/etc/apache/httpd.conf
|
||||
fi
|
||||
|
||||
(cd tmp-tests && python ./tests.py)
|
||||
root-tests/usr/local/sbin/glasnost-tests-ctl stop
|
||||
kill `cat root-tests/var/run/apache.pid`
|
||||
kill `cat root-tests/var/run/apache.pid` || /bin/true
|
||||
|
||||
|
|
Reference in New Issue