xref: /titanic_52/usr/src/cmd/avs/svc/manifest/nws_ii.xml (revision 71269a2275bf5a143dad6461eee2710a344e7261)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4CDDL HEADER START
5
6The contents of this file are subject to the terms of the
7Common Development and Distribution License (the "License").
8You may not use this file except in compliance with the License.
9
10You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11or http://www.opensolaris.org/os/licensing.
12See the License for the specific language governing permissions
13and limitations under the License.
14
15When distributing Covered Code, include this CDDL HEADER in each
16file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17If applicable, add the following below this CDDL HEADER, with the
18fields enclosed by brackets "[]" replaced with your own identifying
19information: Portions Copyright [yyyy] [name of copyright owner]
20
21CDDL HEADER END
22
23	Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24	Use is subject to license terms.
25
26	Service manifest for Availability Suite init.
27-->
28
29<service_bundle type='manifest' name='SUNWscmr:nws_ii'>
30
31<service
32	name='system/nws_ii'
33	type='service'
34	version='1'>
35
36	<create_default_instance enabled='false' />
37
38	<single_instance />
39
40	<dependency
41         name='nws_ii_sv'
42         type='service'
43         grouping='require_all'
44         restart_on='none'>
45            <service_fmri value='svc:/system/nws_sv' />
46      </dependency>
47
48	<!--
49	  We need to make sure that no user filesystems can mount until
50	  AVS has configured, since user filesystems may be mounted on
51	  volumes under AVS control
52	-->
53	<dependent
54	    name='nws_ii-local-fs'
55	    grouping='optional_all'
56	    restart_on='none'>
57		<service_fmri value='svc:/system/filesystem/local' />
58	</dependent>
59
60	<exec_method
61	    type='method'
62	    name='start'
63	    exec='/lib/svc/method/svc-ii %m'
64	    timeout_seconds='300' />
65
66	<exec_method
67	    type='method'
68	    name='stop'
69	    exec='/lib/svc/method/svc-ii %m'
70	    timeout_seconds='600' />
71
72	<property_group
73	    name='startd'
74	    type='framework'>
75		<propval
76		    name='duration'
77		    type='astring'
78		    value='transient' />
79	</property_group>
80
81
82	<stability value='Unstable' />
83
84	<template>
85	    	<common_name>
86		    	<loctext xml:lang='C'>
87				Network Storage Instant Image Init service.
88			</loctext>
89		</common_name>
90
91		<documentation>
92		    	<manpage
93			    title='iiadm'
94			    section='1M'
95			    manpath='/usr/share/man' />
96		</documentation>
97	</template>
98</service>
99
100</service_bundle>
101