xref: /titanic_41/usr/src/lib/libresolv2/client.xml (revision 6dfee4834394825da35b977ca71cdc965bc7b6a4)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4	Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
5	Use is subject to license terms.
6
7	ident	"%Z%%M%	%I%	%E% SMI"
8
9	NOTE:  This service manifest is not editable; its contents will
10	be overwritten by package or patch operations, including
11	operating system upgrade.  Make customizations in a different
12	file.
13-->
14
15<service_bundle type='manifest' name='SUNWcsr:dns-client'>
16
17<service
18	name='network/dns/client'
19	type='service'
20	version='1'>
21
22	<create_default_instance enabled='false' />
23
24	<single_instance />
25
26	<dependency
27	    name='usr'
28	    grouping='require_all'
29	    restart_on='none'
30	    type='service'>
31		<service_fmri value='svc:/system/filesystem/minimal' />
32	</dependency>
33
34	<!--
35	  Wait for potential DHCP modification of resolv.conf.
36	-->
37	<dependency
38	    name='net'
39	    grouping='require_all'
40	    restart_on='none'
41	    type='service'>
42		<service_fmri value='svc:/network/service' />
43	</dependency>
44
45	<dependency
46	    name='config_data'
47	    grouping='require_all'
48	    restart_on='none'
49	    type='path'>
50		<service_fmri
51		    value='file://localhost/etc/resolv.conf' />
52	</dependency>
53
54	<dependency
55	    name='loopback'
56	    grouping='require_any'
57	    restart_on='error'
58	    type='service'>
59		<service_fmri value='svc:/network/loopback' />
60	</dependency>
61
62	<dependency
63	    name='network'
64	    grouping='optional_all'
65	    restart_on='error'
66	    type='service'>
67		<service_fmri value='svc:/milestone/network' />
68	</dependency>
69
70	<exec_method
71	    type='method'
72	    name='start'
73	    exec=':true'
74	    timeout_seconds='10' />
75
76	<exec_method
77	    type='method'
78	    name='stop'
79	    exec=':true'
80	    timeout_seconds='10' />
81
82	<stability value='Unstable' />
83
84	<template>
85		<common_name>
86			<loctext xml:lang='C'>
87				DNS resolver
88			</loctext>
89		</common_name>
90		<documentation>
91			<manpage title='resolver' section='3RESOLV'
92				manpath='/usr/share/man' />
93		</documentation>
94	</template>
95
96</service>
97
98</service_bundle>
99