8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / hostid / smf / hostid.xml
blobf6f2ed89c7fb371d52c8ca929f331f7a0a151c1c
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
7 CDDL HEADER START
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
24 CDDL HEADER END
27        NOTE:  This service manifest is not editable; its contents will
28        be overwritten by package or patch operations, including
29        operating system upgrade.  Make customizations in a different
30        file.
32        Service manifest for hostid.
33 -->
35 <service_bundle type='manifest' name='SUNWcsr:hostid'>
37 <service
38         name='system/hostid'
39         type='service'
40         version='1'>
42         <create_default_instance enabled='true' />
44         <single_instance />
46         <dependency
47                 name='usr'
48                 type='service'
49                 grouping='require_all'
50                 restart_on='none'>
51                 <service_fmri value='svc:/system/filesystem/minimal' />
52         </dependency>
54         <exec_method
55                 type='method'
56                 name='start'
57                 exec='/lib/svc/method/svc-hostid'
58                 timeout_seconds='60' />
60         <exec_method
61                 type='method'
62                 name='stop'
63                 exec=':true'
64                 timeout_seconds='60' />
66         <property_group name='startd' type='framework'>
67                 <propval name='duration' type='astring'
68                         value='transient' />
69         </property_group>
71         <stability value='Unstable' />
73         <template>
74                 <common_name>
75                         <loctext xml:lang='C'>
76                                 hostid
77                         </loctext>
78                 </common_name>
80                 <documentation>
81                         <manpage
82                                 title='hostid'
83                                 section='1'
84                                 manpath='/usr/share/man' />
85                 </documentation>
86         </template>
87 </service>
89 </service_bundle>