SHARE
TWEET

jpromerobx

a guest Feb 23rd, 2009 234 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0"?>
  2. <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
  3. <!--
  4. Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  5. Use is subject to license terms.
  6.  
  7.  ident  "@(#)mysql.xml  1.2     22/02/09 SMI"
  8.  
  9.        NOTE:  This service manifest is not editable; its contents will
  10.        be overwritten by package or patch operations, including
  11.        operating system upgrade.  Make customizations in a different
  12.        file.
  13. -->
  14.  
  15. <service_bundle type='manifest' name='mysql'>
  16.  
  17. <service
  18.        name='application/database/mysql'
  19.        type='service'
  20.        version='1'>
  21.  
  22.         <!--
  23.            Wait for network interfaces to be initialized.
  24.         -->
  25.         <dependency
  26.                name='network'
  27.                grouping='require_all'
  28.                restart_on='none'
  29.                type='service'>
  30.                 <service_fmri value='svc:/milestone/network:default' />
  31.         </dependency>
  32.  
  33.         <!--
  34.            Wait for all local filesystems to be mounted.
  35.         -->
  36.         <dependency
  37.                name='filesystem-local'
  38.                grouping='require_all'
  39.                restart_on='none'
  40.                type='service'>
  41.                 <service_fmri value='svc:/system/filesystem/local:default' />
  42.         </dependency>
  43.  
  44.         <exec_method
  45.                type='method'
  46.                name='start'
  47.                exec='/lib/svc/method/mysql start'
  48.                timeout_seconds='60' />
  49.  
  50.         <exec_method
  51.                type='method'
  52.                name='stop'
  53.                exec='/lib/svc/method/mysql stop'
  54.                timeout_seconds='60' />
  55.  
  56.  
  57.         <!--
  58.          Both action_authorization and value_authorization are needed
  59.          to allow the framework general/enabled property to be changed
  60.          when performing action (enable, disable, etc) on the service.
  61.        -->
  62.         <property_group name='general' type='framework'>
  63.                 <propval name='value_authorization' type='astring'
  64.                         value='solaris.smf.value.postgres' />
  65.                 <propval name='action_authorization' type='astring'
  66.                         value='solaris.smf.manage.postgres' />
  67.         </property_group>
  68.  
  69.         <!--
  70.          We define two instances of PostgreSQL as examples (8.1 & 8.2).
  71.        -->
  72.  
  73.         <instance name='default' enabled='true' />
  74.  
  75.         <stability value='Evolving' />
  76.  
  77.         <template>
  78.                 <common_name>
  79.                         <loctext xml:lang='C'>
  80.                                 MySQL Server
  81.                         </loctext>
  82.                 </common_name>
  83.         </template>
  84.  
  85. </service>
  86.  
  87. </service_bundle>
RAW Paste Data
Top