_server-script.sh revision 5636
1008N/A# The contents of this file are subject to the terms of the 1008N/A# Common Development and Distribution License, Version 1.0 only 1008N/A# (the "License"). You may not use this file except in compliance 1008N/A# You can obtain a copy of the license at 1008N/A# See the License for the specific language governing permissions 1008N/A# and limitations under the License. 1008N/A# When distributing Covered Code, include this CDDL HEADER in each 1008N/A# file and include the License file at 1008N/A# add the following below this CDDL HEADER, with the fields enclosed 1008N/A# by brackets "[]" replaced with your own identifying information: 1008N/A# Portions Copyright [yyyy] [name of copyright owner] 1008N/A# Copyright 2006-2010 Sun Microsystems, Inc. 1008N/A# Portions Copyright 2011 ForgeRock AS 1008N/A# This script is used to invoke various server-side processes. It should not 1008N/A# be invoked directly by end users. 1008N/Aif test -z
"${OPENDJ_INVOKE_CLASS}" 1008N/A echo "ERROR: OPENDJ_INVOKE_CLASS environment variable is not set." 1008N/A# Capture the current working directory so that we can change to it later. 1008N/A# Then capture the location of this script and the Directory Server instance 1008N/A# root so that we can use them to create appropriate paths. 1008N/A# Launch the appropriate server utility.