1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3
4 <!--
5 CDDL HEADER START
6
7 The contents of this file are subject to the terms of the
8 Common Development and Distribution License (the "License").
9 You may not use this file except in compliance with the License.
10
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
15
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
21
22 CDDL HEADER END
23
24 Copyright 2008 Sun Microsystems, Inc. All rights reserved.
25 Use is subject to license terms.
26 -->
27
28 <service_bundle type="manifest" name="testing_cd">
29
30
31 <service
32 name="svccfg_inventory_001"
33 type="service"
34 version="1">
35
36 <instance
37 name="instance_001"
38 enabled="true">
39 <exec_method
40 type="method"
41 name="start"
42 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
43 timeout_seconds="90" />
44 <exec_method
45 type="method"
46 name="stop"
47 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
48 timeout_seconds="90" />
49 </instance>
50
51 <instance
52 name="instance_002"
53 enabled="true">
54
55 <exec_method
56 type="method"
57 name="start"
58 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
59 timeout_seconds="90" />
60 <exec_method
61 type="method"
62 name="stop"
63 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
64 timeout_seconds="90" />
65 </instance>
66 <instance
67 name="instance_003"
68 enabled="true">
69 <exec_method
70 type="method"
71 name="start"
72 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
73 timeout_seconds="90" />
74 <exec_method
75 type="method"
76 name="stop"
77 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
78 timeout_seconds="90" />
79 </instance>
80
81 </service>
82 <service
83 name="svccfg_inventory_002"
84 type="service"
85 version="1">
86 <instance
87 name="instance_001"
88 enabled="true">
89 <exec_method
90 type="method"
91 name="start"
92 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
93 timeout_seconds="90" />
94 <exec_method
95 type="method"
96 name="stop"
97 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
98 timeout_seconds="90" />
99 </instance>
100
101 <instance
102 name="instance_002"
103 enabled="true">
104 <exec_method
105 type="method"
106 name="start"
107 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
108 timeout_seconds="90" />
109 <exec_method
110 type="method"
111 name="stop"
112 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
113 timeout_seconds="90" />
114 </instance>
115
116 <instance
117 name="instance_003"
118 enabled="true">
119
120 <exec_method
121 type="method"
122 name="start"
123 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
124 timeout_seconds="90" />
125 <exec_method
126 type="method"
127 name="stop"
128 exec="%{cfg/cmd} -l %{cfg/cmd} -f %{cfg/state} -s %s -i %i -m %m"
129 timeout_seconds="90" />
130 </instance>
131
132 </service>
133 </service_bundle>