<?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/cvsd" type="service" version="0">
  <dependency name="network" grouping="require_all" restart_on="none" 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="filesystem-nfs" grouping="require_all" restart_on="none" type="service">
   <service_fmri value="svc:/network/nfs/client:default" />
  </dependency>
  <exec_method name="start" type="method" exec="/etc/init.d/cvsd start" timeout_seconds="60">
   <method_context working_directory="/var/lib/cvsd">
    <!-- net_privaddr allows the server to bind port 80 without being root -->
    <method_credential user="cvsd" group="cvsd" privileges="basic,proc_chroot,proc_owner" />
   </method_context>
  </exec_method>
  <exec_method name="stop" type="method" exec="/etc/init.d/cvsd stop" timeout_seconds="60">
   <method_context working_directory="/var/lib/cvsd">
    <!-- net_privaddr allows the server to bind port 80 without being root -->
    <method_credential user="cvsd" group="cvsd" privileges="basic,proc_chroot,proc_owner" />
   </method_context>
  </exec_method>
  <exec_method name="refresh" type="method" exec="/etc/init.d/cvsd restart" timeout_seconds="60">
   <method_context working_directory="/var/lib/cvsd">
    <!-- net_privaddr allows the server to bind port 80 without being root -->
    <method_credential user="cvsd" group="cvsd" privileges="basic,proc_chroot,proc_owner" />
   </method_context>
  </exec_method>
  <property_group name="general" type="framework">
   <propval name="action_authorization" type="astring" value="solaris.smf.manage.cvsd" />
   <propval name="value_authorization" type="astring" value="solaris.smf.value.cvsd" />
  </property_group>
  <instance name="cvsd" enabled="false">
   <method_context project=":default" resource_pool=":default" working_directory="/var/lib/cvsd">
    <method_credential user="cvsd" group="cvsd" privileges=":default" limit_privileges=":default" supp_groups=":default" />
   </method_context>
   <property_group name="cvsd" type="application">
    <propval name="value_authorization" type="astring" value="solaris.smf.value.cvsd" />
   </property_group>
  </instance>
  <stability value="Evolving" />
  <template>
   <common_name>
    <loctext xml:lang="C">cvsd 1.0.21 (Copyright (C) 1999-2010 Chris Black, Philippe Kehl and Arthur de Jong)</loctext>
   </common_name>
   <documentation>
    <doc_link name="arthurdejong.org" uri="http://arthurdejong.org/cvsd/" />
   </documentation>
  </template>
 </service>
</service_bundle>

