<?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='application/SUNWappserver/application/das' type='service' version='0'>
    <create_default_instance enabled='false'/>
    <single_instance/>
    <exec_method name='start' type='method' exec='PATH_TO_ASADMIN/asadmin start-domain --user admin --passwordfile PATH_TO_YOUR_PASSWORD_FILE --domaindir PATH_TO_YOUR_DOMAIN_DIR domain1' timeout_seconds='0'>
      <method_context>
      <method_credential user='root' privileges='basic'/>
      </method_context>
      <stability value='Evolving'/>
    </exec_method>

    <exec_method name='stop' type='method' exec='PATH_TO_ASADMIN/asadmin stop-domain --domaindir PATH_TO_YOUR_DOMAIN_DIR domain1' timeout_seconds='0'>
      <method_context>
        <method_credential user='root'/>
      </method_context>
      <stability value='Evolving'/>
    </exec_method>
    <stability value='Evolving'/>
    <template>
      <common_name>
        <loctext xml:lang='C'>Appserver Domain Administration Server</loctext>
      </common_name>
      <documentation>
        <manpage title='Appserver' section='1' manpath='/opt/SUNWappserver/appserver/man'/>
      </documentation>
    </template>
  </service>
</service_bundle>

