xref: /titanic_41/usr/src/cmd/srptsvc/target.xml (revision 1bdd6c0e3710e91cb1f31aa78de33cb638494480)
1*1bdd6c0eSSue Gleeson<?xml version='1.0'?>
2*1bdd6c0eSSue Gleeson<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3*1bdd6c0eSSue Gleeson
4*1bdd6c0eSSue Gleeson<!--
5*1bdd6c0eSSue Gleeson
6*1bdd6c0eSSue GleesonCDDL HEADER START
7*1bdd6c0eSSue Gleeson
8*1bdd6c0eSSue GleesonThe contents of this file are subject to the terms of the
9*1bdd6c0eSSue GleesonCommon Development and Distribution License (the "License").
10*1bdd6c0eSSue GleesonYou may not use this file except in compliance with the License.
11*1bdd6c0eSSue Gleeson
12*1bdd6c0eSSue GleesonYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*1bdd6c0eSSue Gleesonor http://www.opensolaris.org/os/licensing.
14*1bdd6c0eSSue GleesonSee the License for the specific language governing permissions
15*1bdd6c0eSSue Gleesonand limitations under the License.
16*1bdd6c0eSSue Gleeson
17*1bdd6c0eSSue GleesonWhen distributing Covered Code, include this CDDL HEADER in each
18*1bdd6c0eSSue Gleesonfile and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*1bdd6c0eSSue GleesonIf applicable, add the following below this CDDL HEADER, with the
20*1bdd6c0eSSue Gleesonfields enclosed by brackets "[]" replaced with your own identifying
21*1bdd6c0eSSue Gleesoninformation: Portions Copyright [yyyy] [name of copyright owner]
22*1bdd6c0eSSue Gleeson
23*1bdd6c0eSSue GleesonCDDL HEADER END
24*1bdd6c0eSSue Gleeson
25*1bdd6c0eSSue GleesonCopyright 2009 Sun Microsystems, Inc.  All rights reserved.
26*1bdd6c0eSSue GleesonUse is subject to license terms.
27*1bdd6c0eSSue Gleeson
28*1bdd6c0eSSue GleesonService manifests for SRP Target Port Provider
29*1bdd6c0eSSue Gleeson-->
30*1bdd6c0eSSue Gleeson
31*1bdd6c0eSSue Gleeson<!--
32*1bdd6c0eSSue Gleeson	system/ibsrp/target - Export SRP target services
33*1bdd6c0eSSue Gleeson
34*1bdd6c0eSSue Gleeson-->
35*1bdd6c0eSSue Gleeson
36*1bdd6c0eSSue Gleeson<service_bundle type='manifest' name='SUNWsrptr:target'>
37*1bdd6c0eSSue Gleeson
38*1bdd6c0eSSue Gleeson<service
39*1bdd6c0eSSue Gleeson	name='system/ibsrp/target'
40*1bdd6c0eSSue Gleeson	type='service'
41*1bdd6c0eSSue Gleeson	version='1'>
42*1bdd6c0eSSue Gleeson
43*1bdd6c0eSSue Gleeson	<create_default_instance enabled='false' />
44*1bdd6c0eSSue Gleeson
45*1bdd6c0eSSue Gleeson	<single_instance/>
46*1bdd6c0eSSue Gleeson
47*1bdd6c0eSSue Gleeson	<dependency name = 'stmf'
48*1bdd6c0eSSue Gleeson		grouping='require_all'
49*1bdd6c0eSSue Gleeson		restart_on='none'
50*1bdd6c0eSSue Gleeson		type='service'>
51*1bdd6c0eSSue Gleeson		<service_fmri value='svc:/system/stmf:default'/>
52*1bdd6c0eSSue Gleeson	</dependency>
53*1bdd6c0eSSue Gleeson
54*1bdd6c0eSSue Gleeson	<exec_method
55*1bdd6c0eSSue Gleeson		type='method'
56*1bdd6c0eSSue Gleeson		name='start'
57*1bdd6c0eSSue Gleeson		exec='/lib/svc/method/svc-srpt start'
58*1bdd6c0eSSue Gleeson		timeout_seconds='600'>
59*1bdd6c0eSSue Gleeson		<method_context>
60*1bdd6c0eSSue Gleeson			<method_credential
61*1bdd6c0eSSue Gleeson			user='daemon'
62*1bdd6c0eSSue Gleeson			group='daemon'
63*1bdd6c0eSSue Gleeson			privileges='basic,sys_devices,!file_link_any,!proc_session,!proc_info'
64*1bdd6c0eSSue Gleeson			/>
65*1bdd6c0eSSue Gleeson		</method_context>
66*1bdd6c0eSSue Gleeson	</exec_method>
67*1bdd6c0eSSue Gleeson
68*1bdd6c0eSSue Gleeson	<exec_method
69*1bdd6c0eSSue Gleeson		type='method'
70*1bdd6c0eSSue Gleeson		name='stop'
71*1bdd6c0eSSue Gleeson		exec='/lib/svc/method/svc-srpt stop'
72*1bdd6c0eSSue Gleeson		timeout_seconds='600'>
73*1bdd6c0eSSue Gleeson		<method_context>
74*1bdd6c0eSSue Gleeson			<method_credential
75*1bdd6c0eSSue Gleeson			user='daemon'
76*1bdd6c0eSSue Gleeson			group='daemon'
77*1bdd6c0eSSue Gleeson			privileges='basic,sys_devices,!file_link_any,!proc_session,!proc_info'
78*1bdd6c0eSSue Gleeson			/>
79*1bdd6c0eSSue Gleeson		</method_context>
80*1bdd6c0eSSue Gleeson	</exec_method>
81*1bdd6c0eSSue Gleeson
82*1bdd6c0eSSue Gleeson	<property_group name='startd' type='framework'>
83*1bdd6c0eSSue Gleeson		<propval name='duration' type='astring'
84*1bdd6c0eSSue Gleeson			value='transient' />
85*1bdd6c0eSSue Gleeson	</property_group>
86*1bdd6c0eSSue Gleeson
87*1bdd6c0eSSue Gleeson	<stability value='Evolving' />
88*1bdd6c0eSSue Gleeson
89*1bdd6c0eSSue Gleeson	<template>
90*1bdd6c0eSSue Gleeson		<common_name>
91*1bdd6c0eSSue Gleeson			<loctext xml:lang='C'>
92*1bdd6c0eSSue Gleeson				SRP Target
93*1bdd6c0eSSue Gleeson			</loctext>
94*1bdd6c0eSSue Gleeson		</common_name>
95*1bdd6c0eSSue Gleeson		<documentation>
96*1bdd6c0eSSue Gleeson			<manpage title='srpt' section='7D'
97*1bdd6c0eSSue Gleeson				manpath='/usr/share/man' />
98*1bdd6c0eSSue Gleeson		</documentation>
99*1bdd6c0eSSue Gleeson	</template>
100*1bdd6c0eSSue Gleeson
101*1bdd6c0eSSue Gleeson</service>
102*1bdd6c0eSSue Gleeson
103*1bdd6c0eSSue Gleeson</service_bundle>
104