dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.sbin / in.routed / route.xml
blob274cb6ef5df9d74e449fabcdbc8758d432ef0318
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  Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
9  CDDL HEADER START
11  The contents of this file are subject to the terms of the
12  Common Development and Distribution License (the "License").
13  You may not use this file except in compliance with the License.
15  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16  or http://www.opensolaris.org/os/licensing.
17  See the License for the specific language governing permissions
18  and limitations under the License.
20  When distributing Covered Code, include this CDDL HEADER in each
21  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
22  If applicable, add the following below this CDDL HEADER, with the
23  fields enclosed by brackets "[]" replaced with your own identifying
24  information: Portions Copyright [yyyy] [name of copyright owner]
26  CDDL HEADER END
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 -->
34 <service_bundle type='manifest' name='SUNWroutr:route'>
36 <service
37         name='network/routing/route'
38         type='service'
39         version='2'>
41         <single_instance />
43         <instance name='default' enabled='false' >
45         <!-- in.routed will not run unless routing-setup has run -->
46         <dependency
47                 name='network_routing_setup'
48                 grouping='require_all'
49                 restart_on='refresh'
50                 type='service'>
51                 <service_fmri value='svc:/network/routing-setup' />
52         </dependency>
54         <exec_method
55                 type='method'
56                 name='start'
57                 exec='/usr/sbin/in.routed %{config/flags}'
58                 timeout_seconds='60'>
59                 <method_context>
60                         <method_credential user='root' group='root'
61 privileges='basic,proc_owner,proc_fork,proc_exec,proc_info,proc_session,file_chown,sys_ip_config,net_privaddr,net_icmpaccess,net_rawaccess'/>
62                 </method_context>
63         </exec_method>
65         <exec_method
66                 type='method'
67                 name='stop'
68                 exec=':kill'
69                 timeout_seconds='60'>
70                 <method_context>
71                         <method_credential user='root' group='root'/>
72                 </method_context>
73         </exec_method>
75         <!-- to start stop routing services -->
76         <property_group name='general' type='framework'>
77                 <propval name='action_authorization' type='astring'
78                         value='solaris.smf.manage.routing' />
79                 <propval name='value_authorization' type='astring'
80                         value='solaris.smf.manage.routing' />
81         </property_group>
83         <property_group name='config' type='application'>
84                 <stability value='Evolving' />
86                 <propval name='flags' type='astring' value='' />
88                 <propval name='value_authorization' type='astring'
89                         value='solaris.smf.value.routing' />
90         </property_group>
92         <template>
93                 <common_name>
94                         <loctext xml:lang='C'>
95                                 in.routed network routing daemon
96                         </loctext>
97                 </common_name>
98                 <documentation>
99                         <manpage title='in.routed' section='1M'
100                                 manpath='/usr/share/man' />
101                 </documentation>
102         </template>
103         </instance>
104         <stability value='Unstable' />
105 </service>
107 </service_bundle>