xref: /illumos-gate/usr/src/cmd/srptsvc/target.xml (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
11bdd6c0eSSue Gleeson<?xml version='1.0'?>
21bdd6c0eSSue Gleeson<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
31bdd6c0eSSue Gleeson
41bdd6c0eSSue Gleeson<!--
51bdd6c0eSSue Gleeson
61bdd6c0eSSue GleesonCDDL HEADER START
71bdd6c0eSSue Gleeson
81bdd6c0eSSue GleesonThe contents of this file are subject to the terms of the
91bdd6c0eSSue GleesonCommon Development and Distribution License (the "License").
101bdd6c0eSSue GleesonYou may not use this file except in compliance with the License.
111bdd6c0eSSue Gleeson
121bdd6c0eSSue GleesonYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
131bdd6c0eSSue Gleesonor http://www.opensolaris.org/os/licensing.
141bdd6c0eSSue GleesonSee the License for the specific language governing permissions
151bdd6c0eSSue Gleesonand limitations under the License.
161bdd6c0eSSue Gleeson
171bdd6c0eSSue GleesonWhen distributing Covered Code, include this CDDL HEADER in each
181bdd6c0eSSue Gleesonfile and include the License file at usr/src/OPENSOLARIS.LICENSE.
191bdd6c0eSSue GleesonIf applicable, add the following below this CDDL HEADER, with the
201bdd6c0eSSue Gleesonfields enclosed by brackets "[]" replaced with your own identifying
211bdd6c0eSSue Gleesoninformation: Portions Copyright [yyyy] [name of copyright owner]
221bdd6c0eSSue Gleeson
231bdd6c0eSSue GleesonCDDL HEADER END
241bdd6c0eSSue Gleeson
251bdd6c0eSSue GleesonCopyright 2009 Sun Microsystems, Inc.  All rights reserved.
261bdd6c0eSSue GleesonUse is subject to license terms.
271bdd6c0eSSue Gleeson
281bdd6c0eSSue GleesonService manifests for SRP Target Port Provider
291bdd6c0eSSue Gleeson-->
301bdd6c0eSSue Gleeson
311bdd6c0eSSue Gleeson<!--
321bdd6c0eSSue Gleeson	system/ibsrp/target - Export SRP target services
331bdd6c0eSSue Gleeson
341bdd6c0eSSue Gleeson-->
351bdd6c0eSSue Gleeson
361bdd6c0eSSue Gleeson<service_bundle type='manifest' name='SUNWsrptr:target'>
371bdd6c0eSSue Gleeson
381bdd6c0eSSue Gleeson<service
391bdd6c0eSSue Gleeson	name='system/ibsrp/target'
401bdd6c0eSSue Gleeson	type='service'
411bdd6c0eSSue Gleeson	version='1'>
421bdd6c0eSSue Gleeson
431bdd6c0eSSue Gleeson	<create_default_instance enabled='false' />
441bdd6c0eSSue Gleeson
451bdd6c0eSSue Gleeson	<single_instance/>
461bdd6c0eSSue Gleeson
471bdd6c0eSSue Gleeson	<dependency name = 'stmf'
481bdd6c0eSSue Gleeson		grouping='require_all'
491bdd6c0eSSue Gleeson		restart_on='none'
501bdd6c0eSSue Gleeson		type='service'>
511bdd6c0eSSue Gleeson		<service_fmri value='svc:/system/stmf:default'/>
521bdd6c0eSSue Gleeson	</dependency>
531bdd6c0eSSue Gleeson
541bdd6c0eSSue Gleeson	<exec_method
551bdd6c0eSSue Gleeson		type='method'
561bdd6c0eSSue Gleeson		name='start'
571bdd6c0eSSue Gleeson		exec='/lib/svc/method/svc-srpt start'
581bdd6c0eSSue Gleeson		timeout_seconds='600'>
591bdd6c0eSSue Gleeson		<method_context>
601bdd6c0eSSue Gleeson			<method_credential
611bdd6c0eSSue Gleeson			user='daemon'
621bdd6c0eSSue Gleeson			group='daemon'
631bdd6c0eSSue Gleeson			privileges='basic,sys_devices,!file_link_any,!proc_session,!proc_info'
641bdd6c0eSSue Gleeson			/>
651bdd6c0eSSue Gleeson		</method_context>
661bdd6c0eSSue Gleeson	</exec_method>
671bdd6c0eSSue Gleeson
681bdd6c0eSSue Gleeson	<exec_method
691bdd6c0eSSue Gleeson		type='method'
701bdd6c0eSSue Gleeson		name='stop'
711bdd6c0eSSue Gleeson		exec='/lib/svc/method/svc-srpt stop'
721bdd6c0eSSue Gleeson		timeout_seconds='600'>
731bdd6c0eSSue Gleeson		<method_context>
741bdd6c0eSSue Gleeson			<method_credential
751bdd6c0eSSue Gleeson			user='daemon'
761bdd6c0eSSue Gleeson			group='daemon'
771bdd6c0eSSue Gleeson			privileges='basic,sys_devices,!file_link_any,!proc_session,!proc_info'
781bdd6c0eSSue Gleeson			/>
791bdd6c0eSSue Gleeson		</method_context>
801bdd6c0eSSue Gleeson	</exec_method>
811bdd6c0eSSue Gleeson
821bdd6c0eSSue Gleeson	<property_group name='startd' type='framework'>
831bdd6c0eSSue Gleeson		<propval name='duration' type='astring'
841bdd6c0eSSue Gleeson			value='transient' />
851bdd6c0eSSue Gleeson	</property_group>
861bdd6c0eSSue Gleeson
871bdd6c0eSSue Gleeson	<stability value='Evolving' />
881bdd6c0eSSue Gleeson
891bdd6c0eSSue Gleeson	<template>
901bdd6c0eSSue Gleeson		<common_name>
911bdd6c0eSSue Gleeson			<loctext xml:lang='C'>
921bdd6c0eSSue Gleeson				SRP Target
931bdd6c0eSSue Gleeson			</loctext>
941bdd6c0eSSue Gleeson		</common_name>
951bdd6c0eSSue Gleeson		<documentation>
96*bbf21555SRichard Lowe			<manpage title='srpt' section='4D'
971bdd6c0eSSue Gleeson				manpath='/usr/share/man' />
981bdd6c0eSSue Gleeson		</documentation>
991bdd6c0eSSue Gleeson	</template>
1001bdd6c0eSSue Gleeson
1011bdd6c0eSSue Gleeson</service>
1021bdd6c0eSSue Gleeson
1031bdd6c0eSSue Gleeson</service_bundle>
104