xref: /titanic_50/usr/src/cmd/hostid/smf/hostid.xml (revision 7a286c471efbab8562f7655a82931904703fffe0)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5Use is subject to license terms.
6
7CDDL HEADER START
8
9The contents of this file are subject to the terms of the
10Common Development and Distribution License (the "License").
11You may not use this file except in compliance with the License.
12
13You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14or http://www.opensolaris.org/os/licensing.
15See the License for the specific language governing permissions
16and limitations under the License.
17
18When distributing Covered Code, include this CDDL HEADER in each
19file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20If applicable, add the following below this CDDL HEADER, with the
21fields enclosed by brackets "[]" replaced with your own identifying
22information: Portions Copyright [yyyy] [name of copyright owner]
23
24CDDL HEADER END
25
26
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.
31
32       Service manifest for hostid.
33-->
34
35<service_bundle type='manifest' name='SUNWcsr:hostid'>
36
37<service
38	name='system/hostid'
39	type='service'
40	version='1'>
41
42	<create_default_instance enabled='true' />
43
44	<single_instance />
45
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>
53
54	<exec_method
55		type='method'
56		name='start'
57		exec='/lib/svc/method/svc-hostid'
58		timeout_seconds='60' />
59
60	<exec_method
61		type='method'
62		name='stop'
63		exec=':true'
64		timeout_seconds='60' />
65
66	<property_group name='startd' type='framework'>
67		<propval name='duration' type='astring'
68			value='transient' />
69	</property_group>
70
71	<stability value='Unstable' />
72
73	<template>
74		<common_name>
75			<loctext xml:lang='C'>
76				hostid
77			</loctext>
78		</common_name>
79
80		<documentation>
81			<manpage
82				title='hostid'
83				section='1'
84				manpath='/usr/share/man' />
85		</documentation>
86	</template>
87</service>
88
89</service_bundle>
90