xref: /titanic_51/usr/src/cmd/svc/milestone/network-service.xml (revision 15d9d0b528387242011cdcc6190c9e598cfe3a07)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2006 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	ident	"%Z%%M%	%I%	%E% SMI"
27
28	NOTE:  This service manifest is not editable; its contents will
29	be overwritten by package or patch operations, including
30	operating system upgrade.  Make customizations in a different
31	file.
32-->
33
34<service_bundle type='manifest' name='SUNWcsr:network-service'>
35
36<!--
37  network/service is the fourth service containing aggregated TCP/IP
38  service initialization.  It will decompose into its constituent
39  services over time.
40-->
41
42<service
43	name='network/service'
44	type='service'
45	version='1'>
46
47	<create_default_instance enabled='true' />
48
49	<dependency
50		name='init'
51		grouping='optional_all'
52		restart_on='none'
53		type='service'>
54		<service_fmri value='svc:/network/initial' />
55	</dependency>
56
57	<!--
58	  We require the root, usr and minimal filesystems, since
59	  this service writes to/reads from /tmp, /etc, /var and
60	  runs programs under /usr.
61	-->
62	<dependency
63		name='filesystem'
64		grouping='require_all'
65		restart_on='none'
66		type='service'>
67		<service_fmri value='svc:/system/filesystem/root' />
68		<service_fmri value='svc:/system/filesystem/usr' />
69		<service_fmri value='svc:/system/filesystem/minimal' />
70	</dependency>
71
72	<dependency
73		name='nisplus'
74		grouping='optional_all'
75		restart_on='none'
76		type='service'>
77		<service_fmri value='svc:/network/rpc/nisplus' />
78	</dependency>
79
80	<dependency
81		name='nis_server'
82		grouping='optional_all'
83		restart_on='none'
84		type='service'>
85		<service_fmri value='svc:/network/nis/server' />
86	</dependency>
87
88	<dependency
89		name='nis_client'
90		grouping='optional_all'
91		restart_on='none'
92		type='service'>
93		<service_fmri value='svc:/network/nis/client' />
94	</dependency>
95
96	<!--
97	  DNS is potentially configured by the DHCP actions in
98	  network/service, and cannot presently be used to store data
99	  used by this service.
100	-->
101
102	<exec_method
103		type='method'
104		name='start'
105		exec='/lib/svc/method/net-svc start'
106		timeout_seconds='600' />
107
108	<exec_method
109		type='method'
110		name='stop'
111		exec=':true'
112		timeout_seconds='3' />
113
114	<property_group name='startd' type='framework'>
115		<propval name='duration' type='astring' value='transient' />
116	</property_group>
117
118	<stability value='Unstable' />
119
120	<template>
121		<common_name>
122			<loctext xml:lang='C'>
123				layered network services
124			</loctext>
125		</common_name>
126		<description>
127			<loctext xml:lang='C'>
128				Network infrastructure services
129				requiring name service availability.
130			</loctext>
131		</description>
132		<documentation>
133			<manpage title='ifconfig' section='1M'
134				manpath='/usr/share/man' />
135		</documentation>
136	</template>
137</service>
138
139</service_bundle>
140