<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
    bigbrother.xml : BigBrother manifest, Kyle Reynolds
    2006-07-02
-->
<!--
    Be sure to change the path to runbb.sh to match your setup...
-->
<service_bundle type="manifest" name="bigbrother">
<service name="application/management/bigbrother" type="service" version="1">

   <single_instance/>

   <dependency name="multi-user-server" grouping="require_any" restart_on="error" type="service">
      <service_fmri value="svc:/milestone/multi-user-server:default"/>
   </dependency>

   <exec_method type="method" name="start" exec="/u01/app/bb/bbc/runbb.sh start" timeout_seconds="120">
      <method_context>
         <method_credential user="bbuser" group="bbgroup"/>
      </method_context>
   </exec_method>


   <exec_method type="method" name="stop" exec="/u01/app/bb/bbc/runbb.sh stop" timeout_seconds="120">
      <method_context>
         <method_credential user="bbuser" group="bbgroup"/>
      </method_context>
   </exec_method>


   <instance name="default" enabled="false"/>

   <stability value="External"/>

   <template>
      <common_name>
         <loctext xml:lang="C">Big Brother</loctext>
      </common_name>
   </template>

</service>
</service_bundle>