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