<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
  <service name='network/http' type='service' version='0'>
    <instance name='apache2' enabled='true'>
      <dependency name='network' grouping='require_all' restart_on='error' type='service'>
        <service_fmri value='svc:/milestone/network:default'/>
      </dependency>
      <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
        <service_fmri value='svc:/system/filesystem/local:default'/>
      </dependency>
      <dependency name='autofs' grouping='optional_all' restart_on='error' type='service'>
        <service_fmri value='svc:/system/filesystem/autofs:default'/>
      </dependency>
      <exec_method name='start' type='method' exec='/opt/local/apache2/bin/apachectl start' timeout_seconds='60'>
        <method_context/>
      </exec_method>
      <exec_method name='stop' type='method' exec='/opt/local/apache2/bin/apachectl stop' timeout_seconds='60'>
        <method_context/>
      </exec_method>
      <exec_method name='refresh' type='method' exec='/opt/local/apache2/bin/apachectl restart' timeout_seconds='60'>
        <method_context/>
      </exec_method>
      <property_group name='httpd' type='application'>
        <stability value='Evolving'/>
        <propval name='ssl' type='boolean' value='false'/>
      </property_group>
      <property_group name='startd' type='framework'>
        <propval name='ignore_error' type='astring' value='core,signal'/>
      </property_group>
    </instance>
    <stability value='Evolving'/>
    <template>
      <common_name>
        <loctext xml:lang='C'>Apache 2 HTTP server</loctext>
      </common_name>
      <documentation>
        <manpage title='httpd' section='8' manpath='/opt/local/apache2/man'/>
        <doc_link name='apache.org' uri='http://httpd.apache.org'/>
      </documentation>
    </template>
  </service>
</service_bundle>

