fcron: update to 3.3.2
[oi-userland.git] / components / sysutils / netperf / files / netserver.xml
blob2348a89e039b2006656d0aab8bf677b984d5f538
1 <?xml version="1.0" ?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <service_bundle type="manifest" name="netserver">
4     <service name="network/netserver" type="service" version="0">
5         <create_default_instance enabled="false"/>
7         <dependency name="network" grouping="require_all" restart_on="error" type="service">
8             <service_fmri value="svc:/milestone/network:default"/>
9         </dependency>
11         <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
12             <service_fmri value="svc:/system/filesystem/local"/>
13         </dependency>
15         <method_context>
16             <method_environment>
17                 <envvar name="PATH" value="/usr/bin:/usr/sbin"/>
18             </method_environment>
19         </method_context>
21         <exec_method type="method" name="start" exec="/usr/bin/netserver %{config/options}" timeout_seconds="60"/>
23         <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
25         <property_group name='general' type='framework'>
26             <propval name='action_authorization' type='astring' value='solaris.smf.manage.netserver'/>
27             <propval name='value_authorization' type='astring' value='solaris.smf.value.netserver'/>
28         </property_group>
30         <property_group name="startd" type="framework">
31             <propval name="duration" type="astring" value="contract"/>
32             <propval name="ignore_error" type="astring" value="core,signal"/>
33         </property_group>
35         <property_group name='config' type='application'>
36             <propval name='options' type='astring' value=''/>
37             <propval name='value_authorization' type='astring' value='solaris.smf.value.netserver'/>
38         </property_group>
40         <stability value="Evolving"/>
42         <template>
43             <common_name>
44                 <loctext xml:lang="C">netperf benchmarking network server</loctext>
45             </common_name>
46             <documentation>
47                 <manpage title="netserver" section="8" manpath="/usr/share/man"/>
48                 <doc_link name="netperf.org" uri="http://www.netperf.org/netperf/"/>
49             </documentation>
50         </template>
51     </service>
52 </service_bundle>