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