0a33c81444b4733a2ca07b957b89f7a0ad29ef80Ryan Grove# CDDL HEADER START
0a33c81444b4733a2ca07b957b89f7a0ad29ef80Ryan Grove# The contents of this file are subject to the terms of the
0a33c81444b4733a2ca07b957b89f7a0ad29ef80Ryan Grove# Common Development and Distribution License (the "License").
0a33c81444b4733a2ca07b957b89f7a0ad29ef80Ryan Grove# You may not use this file except in compliance with the License.
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
if [ $? -eq 0 ] ; then
while [ $# -gt 0 ]; do
echo startupoptions set
exit $SMF_EXIT_ERR_CONFIG
HTTPD="${HTTPD}" APACHE_USER_ENVVARS="${APACHE_USER_ENVVARS}" ${APACHE_BIN}/apachectl ${STARTUP_OPTIONS} ${cmd} 2>&1
echo "Server failed to start. Check the error log (defaults to ${APACHE_VAR_ROOT}/logs/error_log) for more information, if any."
exit $SMF_EXIT_ERR_FATAL
exit $SMF_EXIT_OK