<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">

<service_bundle type='manifest' name='site:autostart'>
  <service
    name='site/autostart'
    type='service'
    version='1'>

    <create_default_instance enabled='true' />

    <single_instance />

    <dependency
      name='multiuser'
      grouping='require_all'
      restart_on='error'
      type='service'>
      <service_fmri value='svc:/milestone/multi-user:default' />
    </dependency>

    <exec_method
      type='method'
      name='start'
      exec='/opt/custom/bin/autostart.sh'
      timeout_seconds='0'>
    </exec_method>

    <exec_method
      type='method'
      name='stop'
      exec=':true'
      timeout_seconds='0'>
    </exec_method>

    <property_group name='startd' type='framework'>
      <propval name='duration' type='astring' value='transient' />
    </property_group>

    <stability value='Unstable' />
  </service>
</service_bundle>
