xref: /titanic_50/usr/src/cmd/stmfsvc/stmf.xml (revision fcf3ce441efd61da9bb2884968af01cb7c1452cc)
1*fcf3ce44SJohn Forte<?xml version='1.0'?>
2*fcf3ce44SJohn Forte<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3*fcf3ce44SJohn Forte
4*fcf3ce44SJohn Forte<!--
5*fcf3ce44SJohn Forte
6*fcf3ce44SJohn ForteCDDL HEADER START
7*fcf3ce44SJohn Forte
8*fcf3ce44SJohn ForteThe contents of this file are subject to the terms of the
9*fcf3ce44SJohn ForteCommon Development and Distribution License (the "License").
10*fcf3ce44SJohn ForteYou may not use this file except in compliance with the License.
11*fcf3ce44SJohn Forte
12*fcf3ce44SJohn ForteYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*fcf3ce44SJohn Forteor http://www.opensolaris.org/os/licensing.
14*fcf3ce44SJohn ForteSee the License for the specific language governing permissions
15*fcf3ce44SJohn Forteand limitations under the License.
16*fcf3ce44SJohn Forte
17*fcf3ce44SJohn ForteWhen distributing Covered Code, include this CDDL HEADER in each
18*fcf3ce44SJohn Fortefile and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*fcf3ce44SJohn ForteIf applicable, add the following below this CDDL HEADER, with the
20*fcf3ce44SJohn Fortefields enclosed by brackets "[]" replaced with your own identifying
21*fcf3ce44SJohn Forteinformation: Portions Copyright [yyyy] [name of copyright owner]
22*fcf3ce44SJohn Forte
23*fcf3ce44SJohn ForteCDDL HEADER END
24*fcf3ce44SJohn Forte
25*fcf3ce44SJohn ForteCopyright 2008 Sun Microsystems, Inc.  All rights reserved.
26*fcf3ce44SJohn ForteUse is subject to license terms.
27*fcf3ce44SJohn Forte
28*fcf3ce44SJohn Forte
29*fcf3ce44SJohn ForteService manifests for SCSI Target Mode Framework
30*fcf3ce44SJohn Forte-->
31*fcf3ce44SJohn Forte
32*fcf3ce44SJohn Forte<!--
33*fcf3ce44SJohn Forte
34*fcf3ce44SJohn Forte-->
35*fcf3ce44SJohn Forte
36*fcf3ce44SJohn Forte<service_bundle type='manifest' name='stmf'>
37*fcf3ce44SJohn Forte
38*fcf3ce44SJohn Forte<service
39*fcf3ce44SJohn Forte	name='system/stmf'
40*fcf3ce44SJohn Forte	type='service'
41*fcf3ce44SJohn Forte	version='1'>
42*fcf3ce44SJohn Forte
43*fcf3ce44SJohn Forte	<create_default_instance enabled='false' />
44*fcf3ce44SJohn Forte
45*fcf3ce44SJohn Forte	<single_instance/>
46*fcf3ce44SJohn Forte
47*fcf3ce44SJohn Forte	<dependency name = 'filesystem_local'
48*fcf3ce44SJohn Forte		grouping='require_all'
49*fcf3ce44SJohn Forte		restart_on='none'
50*fcf3ce44SJohn Forte		type='service'>
51*fcf3ce44SJohn Forte		<service_fmri
52*fcf3ce44SJohn Forte			value='svc:/system/filesystem/local:default'/>
53*fcf3ce44SJohn Forte	</dependency>
54*fcf3ce44SJohn Forte
55*fcf3ce44SJohn Forte	<exec_method
56*fcf3ce44SJohn Forte		type='method'
57*fcf3ce44SJohn Forte		name='start'
58*fcf3ce44SJohn Forte		exec='/lib/svc/method/svc-stmf start'
59*fcf3ce44SJohn Forte		timeout_seconds='600'>
60*fcf3ce44SJohn Forte		<method_context>
61*fcf3ce44SJohn Forte			<method_credential
62*fcf3ce44SJohn Forte			user='root'
63*fcf3ce44SJohn Forte			group='root'
64*fcf3ce44SJohn Forte			privileges='basic,sys_devices'
65*fcf3ce44SJohn Forte			/>
66*fcf3ce44SJohn Forte		</method_context>
67*fcf3ce44SJohn Forte	</exec_method>
68*fcf3ce44SJohn Forte
69*fcf3ce44SJohn Forte	<exec_method
70*fcf3ce44SJohn Forte		type='method'
71*fcf3ce44SJohn Forte		name='stop'
72*fcf3ce44SJohn Forte		exec='/lib/svc/method/svc-stmf stop'
73*fcf3ce44SJohn Forte		timeout_seconds='600'>
74*fcf3ce44SJohn Forte		<method_context>
75*fcf3ce44SJohn Forte			<method_credential
76*fcf3ce44SJohn Forte			user='root'
77*fcf3ce44SJohn Forte			group='root'
78*fcf3ce44SJohn Forte			privileges='basic,sys_devices'
79*fcf3ce44SJohn Forte			/>
80*fcf3ce44SJohn Forte		</method_context>
81*fcf3ce44SJohn Forte	</exec_method>
82*fcf3ce44SJohn Forte
83*fcf3ce44SJohn Forte	<property_group name='startd' type='framework'>
84*fcf3ce44SJohn Forte		<propval name='duration' type='astring'
85*fcf3ce44SJohn Forte			value='transient' />
86*fcf3ce44SJohn Forte	</property_group>
87*fcf3ce44SJohn Forte
88*fcf3ce44SJohn Forte	<property_group name='general' type='framework'>
89*fcf3ce44SJohn Forte		<!-- to start stop stmf -->
90*fcf3ce44SJohn Forte		<propval name='action_authorization' type='astring'
91*fcf3ce44SJohn Forte			value='solaris.smf.manage.stmf' />
92*fcf3ce44SJohn Forte	</property_group>
93*fcf3ce44SJohn Forte
94*fcf3ce44SJohn Forte	<property_group name='host_groups' type='application'>
95*fcf3ce44SJohn Forte	</property_group>
96*fcf3ce44SJohn Forte
97*fcf3ce44SJohn Forte	<property_group name='target_groups' type='application'>
98*fcf3ce44SJohn Forte	</property_group>
99*fcf3ce44SJohn Forte
100*fcf3ce44SJohn Forte
101*fcf3ce44SJohn Forte	<stability value='Evolving' />
102*fcf3ce44SJohn Forte
103*fcf3ce44SJohn Forte	<template>
104*fcf3ce44SJohn Forte		<common_name>
105*fcf3ce44SJohn Forte			<loctext xml:lang='C'>
106*fcf3ce44SJohn Forte				STMF
107*fcf3ce44SJohn Forte			</loctext>
108*fcf3ce44SJohn Forte		</common_name>
109*fcf3ce44SJohn Forte		<documentation>
110*fcf3ce44SJohn Forte			<manpage title='stmf' section='7D'
111*fcf3ce44SJohn Forte				manpath='/usr/share/man' />
112*fcf3ce44SJohn Forte			<manpage title='stmfadm' section='1M'
113*fcf3ce44SJohn Forte				manpath='/usr/share /man' />
114*fcf3ce44SJohn Forte		</documentation>
115*fcf3ce44SJohn Forte	</template>
116*fcf3ce44SJohn Forte
117*fcf3ce44SJohn Forte</service>
118*fcf3ce44SJohn Forte
119*fcf3ce44SJohn Forte</service_bundle>
120