xref: /titanic_44/usr/src/cmd/rpcsvc/rpc.bootparamd/bootparams.xml (revision eb1a34638eba7c5add1421327f3eb225a8ea7518)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2009 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 (the "License").
11 You may not use this file except in compliance with the License.
12
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.
17
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]
23
24 CDDL HEADER END
25
26	NOTE:  This service manifest is not editable; its contents will
27	be overwritten by package or patch operations, including
28	operating system upgrade.  Make customizations in a different
29	file.
30
31	Service manifest for the rpc.bootparamd service.
32-->
33
34<service_bundle type='manifest' name='SUNWbsr:bootparams'>
35
36<service
37	name='network/rpc/bootparams'
38	type='service'
39	version='1'>
40
41	<create_default_instance enabled='false' />
42
43	<single_instance/>
44
45	<dependency
46		name='network'
47		grouping='require_all'
48		restart_on='none'
49		type='service'>
50		<service_fmri value='svc:/milestone/network' />
51	</dependency>
52
53	<dependency
54		name='name-services'
55		grouping='require_all'
56		restart_on='refresh'
57		type='service'>
58		<service_fmri value='svc:/milestone/name-services' />
59	</dependency>
60
61	<dependency name='rpcbind'
62	    grouping='require_all'
63	    restart_on='restart'
64	    type='service'>
65		<service_fmri value='svc:/network/rpc/bind'/>
66	</dependency>
67
68	<dependent
69		name='rpc-bootparams_multi-user-server'
70		grouping='optional_all'
71		restart_on='none'>
72			<service_fmri
73			    value='svc:/milestone/multi-user-server' />
74	</dependent>
75
76	<exec_method
77		type='method'
78		name='start'
79		exec='/usr/sbin/rpc.bootparamd'
80		timeout_seconds='60' />
81
82	<exec_method
83		type='method'
84		name='stop'
85		exec=':kill'
86		timeout_seconds='60' />
87
88	<property_group name='firewall_context' type='com.sun,fw_definition'>
89		<propval name='isrpc' type='boolean' value='true' />
90		<propval name='name' type='astring' value='100026' />
91	</property_group>
92
93	<property_group name='firewall_config' type='com.sun,fw_configuration'>
94		<propval name='policy' type='astring' value='use_global' />
95		<propval name='apply_to' type='astring' value='' />
96		<propval name='exceptions' type='astring' value='' />
97		<propval name='value_authorization' type='astring'
98			value='solaris.smf.value.firewall.config' />
99        </property_group>
100
101	<stability value='Unstable' />
102
103	<template>
104		<common_name>
105			<loctext xml:lang='C'>
106				boot parameter server
107			</loctext>
108		</common_name>
109
110		<description>
111			<loctext xml:lang='C'>
112rpc.bootparamd provides information from a bootparams database to
113diskless clients at boot time.
114			</loctext>
115		</description>
116		<documentation>
117			<manpage title='rpc.bootparamd' section='1M'
118				manpath='/usr/share/man' />
119		</documentation>
120	</template>
121</service>
122
123</service_bundle>
124