0N/A# OPENDJ SERVICE SCRIPT 2362N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License, Version 1.0 only 0N/A# (the "License"). You may not use this file except in compliance 0N/A# You can obtain a copy of the license at 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 2362N/A# file and include the License file at 2362N/A# add the following below this CDDL HEADER, with the fields enclosed 0N/A# by brackets "[]" replaced with your own identifying information: 0N/A# Portions Copyright [yyyy] [name of copyright owner] 4151N/A# Copyright 2013 ForgeRock AS 0N/A# chkconfig: 2345 80 05 0N/A# description: Starts and stops opendj LDAPv3 service. 0N/A# Default-Start: 2 3 4 5 0N/A# Default-Stop: 0 1 6 0N/A# Short-Description: This is the opendj daemon 0N/A# Description: OpenDJ is an LDAPv3 compliant directory service, developed for the Java 0N/A# platform, providing a high performance, highly available and secure store 0N/A# for the identities managed by enterprises. Its easy installation process, 0N/A# combined with the power of the Java platform makes OpenDJ one of the 0N/A# simplest and fastest directory servers to deploy and manage. 0N/A# Set up source function library depending on the distribution 0N/A# Sets the script vars 0N/A# If the daemon is not there, then exit / LSB return code. 0N/A# /var/run is deleted after reboot (eg. debian) 0N/A# recreates the symlink if needed. 0N/A#Starts the server and creates pid file. 0N/A echo "> Already running." 0N/A#Stops the server and removes pid file. 0N/A echo "> Already stopped." 0N/A# Displays the service status