ldap-olslapd.xml revision 4384
97N/A<?xml version="1.0"?>
97N/A<!--
97N/ACDDL HEADER START
97N/A
97N/AThe contents of this file are subject to the terms of the
97N/ACommon Development and Distribution License (the "License").
97N/AYou may not use this file except in compliance with the License.
97N/A
97N/AYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97N/Aor http://www.opensolaris.org/os/licensing.
97N/ASee the License for the specific language governing permissions
97N/Aand limitations under the License.
97N/A
97N/AWhen distributing Covered Code, include this CDDL HEADER in each
97N/Afile and include the License file at usr/src/OPENSOLARIS.LICENSE.
97N/AIf applicable, add the following below this CDDL HEADER, with the
97N/Afields enclosed by brackets "[]" replaced with your own identifying
97N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
97N/A
97N/ACDDL HEADER END
97N/A-->
97N/A
97N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
97N/A<!--
97N/A Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
97N/A-->
97N/A
97N/A<service_bundle type='manifest' name='SUNWopenldapr:slapd'>
97N/A
97N/A<service
97N/A name='network/ldap/server'
97N/A type='service'
97N/A version='1'>
97N/A
<!--
Because we may have multiple instances of network/http
provided by different implementations, we keep dependencies
and methods within the instance.
-->
<instance name='openldap_24' enabled='false'>
<!--
Wait for network interfaces to be initialized.
-->
<dependency name='network'
grouping='require_all'
restart_on='error'
type='service'>
<service_fmri value='svc:/milestone/network:default'/>
</dependency>
<!--
Wait for all local filesystems to be mounted.
-->
<dependency name='filesystem-local'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri
value='svc:/system/filesystem/local:default'/>
</dependency>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/ldap-olslapd start'
timeout_seconds='60'>
<method_context>
<method_credential
user='openldap'
group='openldap'
privileges='basic,net_privaddr,file_dac_read,file_dac_write,file_dac_search' />
</method_context>
</exec_method>
<exec_method
type='method'
name='stop'
exec='/lib/svc/method/ldap-olslapd stop %{restarter/contract}'
timeout_seconds='60' />
<property_group name='startd' type='framework'>
<!-- sub-process core dumps shouldn't restart
session -->
<propval name='ignore_error' type='astring'
value='core,signal' />
</property_group>
<template>
<common_name>
<loctext xml:lang='C'>
slapd - OpenLDAP LDAP server
</loctext>
</common_name>
<documentation>
<manpage title='slapd' section='8oldap'
manpath='/usr/share/man' />
<doc_link name='openldap.org'
uri='http://www.openldap.org' />
</documentation>
</template>
</instance>
<stability value='Evolving' />
</service>
</service_bundle>