Zhostid.xml

Page last edited hace 2208 días 8 horas
De Solaris-ES
Saltar a: navegación, buscar
<?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='site/zhostid' type='service' version='0'>
    <create_default_instance enabled='false'/>
    <single_instance/>
    <dependency name='usr' grouping='require_all' restart_on='none' type='service'>
      <service_fmri value='svc:/system/filesystem/minimal'/>
    </dependency>
    <exec_method name='start' type='method' exec='/lib/svc/method/svc-zhostid' timeout_seconds='60'>
      <method_context>
        <method_credential user='root' group='root'/>
      </method_context>
    </exec_method>
    <exec_method name='stop' type='method' exec=':kill' timeout_seconds='5'>
      <method_context/>
    </exec_method>
    <property_group name='general' type='framework'>
      <propval name='hostid' type='astring' value='00000002'/>
    </property_group>
    <property_group name='startd' type='framework'>
      <propval name='ignore_error' type='astring' value='core,signal'/>
    </property_group>
    <stability value='Unstable'/>
    <template>
      <common_name>
        <loctext xml:lang='C'>Change HostID via DTRACE (zhostid)</loctext>
      </common_name>
    </template>
  </service>
</service_bundle>