278N/A# The contents of this file are subject to the terms of the 278N/A# Common Development and Distribution License (the "License"). 278N/A# You may not use this file except in compliance with the License. 278N/A# See the License for the specific language governing permissions 278N/A# and limitations under the License. 278N/A# When distributing Covered Code, include this CDDL HEADER in each 278N/A# If applicable, add the following below this CDDL HEADER, with the 278N/A# fields enclosed by brackets "[]" replaced with your own identifying 278N/A# information: Portions Copyright [yyyy] [name of copyright owner] 3158N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. 278N/A#if startup options contain multiple arguments separated by a blank, 278N/A#then they should be specified as below 278N/A if [ "${PROPVAL}" = "\"\"" ] ; then 1784N/A# Check whether alternate config file was specified using option -f. 1784N/A# If it's the case, Apache will search in the same directory for 1784N/A# availability of environment file. 278N/Aif [
"x${APACHE_VERSION}" !=
"x" ];
then 278N/A echo "Apache version is ${APACHE_VERSION}" 278N/Aif [
"${PROPVAL}" !=
"" ] ;
then 3158N/Aif [
"${PROPVAL}x" ==
"workerx" ] || [
"${PROPVAL}x" ==
"preforkx" ] ;
then 278N/A echo "Usage: $0 {start|stop|refresh}" 278N/A echo "Server failed to start. Check the error log (defaults to ${APACHE_VAR_ROOT}/logs/error_log) for more information, if any."