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