dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.sbin / in.rdisc / rdisc.xml
blob67304fc61138bd789bf7248383abc9105a581ddc
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.
7  CDDL HEADER START
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.
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.
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]
24  CDDL HEADER END
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 -->
32 <service_bundle type='manifest' name='SUNWroutr:rdisc'>
34 <service
35         name='network/routing/rdisc'
36         type='service'
37         version='2'>
39         <single_instance />
41         <instance name='default' enabled='false' >
43         <!-- in.rdisc will not run unless routing-setup has run -->
44         <dependency
45                 name='network_routing_setup'
46                 grouping='require_all'
47                 restart_on='refresh'
48                 type='service'>
49                 <service_fmri value='svc:/network/routing-setup' />
50         </dependency>
52         <exec_method
53                 type='method'
54                 name='start'
55                 exec='/usr/sbin/in.rdisc %{config/flags}'
56                 timeout_seconds='60'>
57                 <method_context>
58                         <method_credential user='root' group='root'
59 privileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_icmpaccess,net_rawaccess'/>
60                 </method_context>
61         </exec_method>
63         <exec_method
64                 type='method'
65                 name='stop'
66                 exec=':kill'
67                 timeout_seconds='60'>
68                 <method_context>
69                         <method_credential user='root' group='root'/>
70                 </method_context>
71         </exec_method>
73         <!-- to start stop routing services -->
74         <property_group name='general' type='framework'>
75                 <propval name='action_authorization' type='astring'
76                         value='solaris.smf.manage.routing' />
77                 <propval name='value_authorization' type='astring'
78                         value='solaris.smf.manage.routing' />
79         </property_group>
81         <property_group name='config' type='application'>
82                 <stability value='Evolving' />
84                 <propval name='flags' type='astring' value='' />
86                 <propval name='value_authorization' type='astring'
87                         value='solaris.smf.value.routing' />
88         </property_group>
90         <template>
91                 <common_name>
92                         <loctext xml:lang='C'>
93                                 in.rdisc network router discovery daemon
94                         </loctext>
95                 </common_name>
96                 <documentation>
97                         <manpage title='in.rdisc' section='1M'
98                                 manpath='/usr/share/man' />
99                 </documentation>
100         </template>
102         </instance>
103         <stability value='Unstable' />
104 </service>
106 </service_bundle>