[hobbit] Hobbit startup script.

Ward, Martin Martin.Ward at colt.net
Tue Jun 9 10:35:01 CEST 2009


> From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net]
> each distribution. If you are on Solaris 10, someone has created an
SMF
> script

As if by magic...

----
<?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/hobbit-server' type='service' version='0'>
    <create_default_instance enabled='true'/>
    <dependency name='filesystem' grouping='require_all'
restart_on='none' type='service'>
      <service_fmri value='svc:/system/filesystem/local'/>
    </dependency>
    <dependency name='multi-user-server' grouping='optional_all'
restart_on='none' type='service'>
      <service_fmri value='svc:/milestone/multi-user-server'/>
    </dependency>
    <dependency name='hobbitserver_file' grouping='require_all'
restart_on='none' type='path'>
      <service_fmri
value='file://localhost/opt/hobbit/server/etc/hobbitserver.cfg'/>
    </dependency>
    <dependency name='bbhosts_file' grouping='require_all'
restart_on='none' type='path'>
      <service_fmri
value='file://localhost/opt/hobbit/server/etc/bb-hosts'/>
    </dependency>
    <exec_method name='start' type='method'
exec='/opt/hobbit/server/hobbit.sh start' timeout_seconds='30'>
      <method_context>
        <method_credential user='hobbit'/>
      </method_context>
    </exec_method>
    <exec_method name='stop' type='method'
exec='/opt/hobbit/server/hobbit.sh stop' timeout_seconds='30'>
      <method_context>
        <method_credential user='hobbit'/>
      </method_context>
    </exec_method>
    <exec_method name='refresh' type='method'
exec='/opt/hobbit/server/hobbit.sh restart' timeout_seconds='30'>
      <method_context>
        <method_credential user='hobbit'/>
      </method_context>
    </exec_method>
    <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'>Hobbit Monitor Server</loctext>
      </common_name>
      <documentation>
        <doc_link name='hobbit_monitor_site'
uri='http://hobbitmon.sourceforge.net/'/>
      </documentation>
    </template>
  </service>
</service_bundle>
----

Don't remember where this one came from but it will be one of my head or
another person in this distribution group.

|\/|artin



*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.




More information about the Xymon mailing list