All pastes #1267530 Raw Edit

OpenDS svc manifest

public xml v1 · immutable
#1267530 ·published 2008-11-26 11:55 UTC
rendered paste body
<?xml version="1.0"?><!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <service_bundle type='manifest' name='opends'> <service        name='network/ldap/opends'        type='service'        version='1'>         <create_default_instance enabled='false' />         <single_instance />      	<!--      	Wait for network interfaces to be initialized.      	-->      	<dependency        	   name='network'        	   grouping='require_all'        	   restart_on='none'        	   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>    	<method_context>       	 <method_environment>       	     <envvar name='JAVA_HOME' value='/usr/jdk/latest' />       	     <envvar name='OPENDS_JAVA_ARGS' value='-d32 -Xmx256M' />       	 </method_environment>    	</method_context>         <exec_method            type='method'            name='start'            exec='/usr/local/opends/bin/start-ds'            timeout_seconds='60'>            <method_context>               <method_credential                   user='ldap' group='ldap'                   privileges='basic,net_privaddr,sys_resource' />            </method_context>	</exec_method>         <exec_method            type='method'            name='stop'            exec='/usr/local/opends/bin/stop-ds'            timeout_seconds='60' />         <template>                <common_name>                        <loctext xml:lang='C'>                        OpenDS LDAP server                        </loctext>                </common_name>        </template></service> </service_bundle>