vim: update to 9.1.1034
[oi-userland.git] / components / network / asterisk / files / asterisk.xml
blobbb03a9a71b6a967754c9c9a26ce28328e40e1782
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="asterisk">
4     <service name="network/asterisk" 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="/lib/svc/method/asterisk start" timeout_seconds="60"/>
23         <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
25         <stability value="Evolving"/>
27         <template>
28             <common_name>
29                 <loctext xml:lang="C">Asterisk</loctext>
30             </common_name>
31             <documentation>
32                 <manpage title="asterisk" section="8" manpath="/usr/share/man"/>
33             </documentation>
34         </template>
35     </service>
36 </service_bundle>