#!/bin/bash
#
# Copyright 2010 Proofpoint, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Expects config under "etc":
#   jvm.config
#   config.properties
#
# Options:
# --config to override config file
# --jvm-config to override jvm config file
# --pid-file to override PID file
# --log-file to override log file
# --log-levels-file to override logging configuration
#
# Logs to var/log/launcher.log when run as daemon
# Logs to console when run in foreground, unless log file provided
#
# Libs must be installed under "lib"
#
# Requires Java to be in PATH

$(dirname $0)/launcher.rb $*