xref: /illumos-gate/usr/src/cmd/svc/milestone/identity.xml (revision e3ae4b35c024af1196582063ecee3ab79367227d)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License, Version 1.0 only
11 (the "License").  You may not use this file except in compliance
12 with the License.
13
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
18
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
24
25 CDDL HEADER END
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
33<service_bundle type='manifest' name='SUNWcsr:identity'>
34
35<service
36	name='system/identity'
37	type='service'
38	version='1'>
39
40	<dependency
41		name='loopback-network'
42		grouping='require_any'
43		restart_on='none'
44		type='service'>
45		<service_fmri value='svc:/network/loopback' />
46	</dependency>
47
48	<dependency
49		name='physical-network'
50		grouping='optional_all'
51		restart_on='none'
52		type='service'>
53		<service_fmri value='svc:/network/physical' />
54	</dependency>
55
56	<exec_method
57		type='method'
58		name='stop'
59		exec=':true'
60		timeout_seconds='60' />
61
62	<property_group name='startd' type='framework'>
63		<propval name='duration' type='astring' value='transient' />
64	</property_group>
65
66	<instance name='node' enabled='true'>
67
68		<exec_method
69			type='method'
70			name='start'
71			exec='/lib/svc/method/identity-node'
72			timeout_seconds='60' />
73
74		<template>
75			<common_name>
76				<loctext xml:lang='C'>
77					system identity (nodename)
78				</loctext>
79			</common_name>
80			<documentation>
81				<manpage title='nodename' section='5'
82					manpath='/usr/share/man' />
83			</documentation>
84		</template>
85
86	</instance>
87
88	<instance name='domain' enabled='false'>
89
90		<dependency
91			name='fs'
92			grouping='require_all'
93			restart_on='none'
94			type='service'>
95			<service_fmri value='svc:/system/filesystem/minimal' />
96		</dependency>
97
98		<exec_method
99			type='method'
100			name='start'
101			exec='/lib/svc/method/identity-domain'
102			timeout_seconds='60' />
103
104		<template>
105			<common_name>
106				<loctext xml:lang='C'>
107					system identity (domainname)
108				</loctext>
109			</common_name>
110			<documentation>
111				<manpage title='domainname' section='8'
112					manpath='/usr/share/man' />
113				<manpage title='defaultdomain' section='5'
114					manpath='/usr/share/man' />
115			</documentation>
116		</template>
117
118	</instance>
119
120	<stability value='Unstable' />
121
122</service>
123
124</service_bundle>
125