4133N/A<?xml version="1.0"?>
4133N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4133N/A<!--
4133N/A
4133N/A Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4133N/A
4133N/A CDDL HEADER START
4133N/A
4133N/A The contents of this file are subject to the terms of the
4133N/A Common Development and Distribution License (the "License").
4133N/A You may not use this file except in compliance with the License.
4133N/A
4133N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4133N/A or http://www.opensolaris.org/os/licensing.
4133N/A See the License for the specific language governing permissions
4133N/A and limitations under the License.
4133N/A
4133N/A When distributing Covered Code, include this CDDL HEADER in each
4133N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4133N/A If applicable, add the following below this CDDL HEADER, with the
4133N/A fields enclosed by brackets "[]" replaced with your own identifying
4133N/A information: Portions Copyright [yyyy] [name of copyright owner]
4133N/A
4133N/A CDDL HEADER END
4133N/A
4133N/A NOTE: This service manifest is not editable; its contents will
4133N/A be overwritten by package or patch operations, including
4133N/A operating system upgrade. Make customizations in a different
4133N/A file.
4133N/A-->
4133N/A
4133N/A<service_bundle type='manifest' name='mysql'>
4133N/A<service
4133N/A name='application/database/mysql'
4133N/A type='service'
4133N/A version='1'>
4133N/A
4133N/A <!--
4133N/A Wait for network interfaces to be initialized.
4133N/A -->
4133N/A <dependency
4133N/A name='network'
4133N/A grouping='require_all'
4133N/A restart_on='none'
4133N/A type='service'>
4133N/A <service_fmri value='svc:/milestone/network:default' />
4133N/A </dependency>
4133N/A
4133N/A <!--
4133N/A Wait for all local filesystems to be mounted.
4133N/A -->
4133N/A <dependency
4133N/A name='filesystem-local'
4133N/A grouping='require_all'
4133N/A restart_on='none'
4133N/A type='service'>
4133N/A <service_fmri value='svc:/system/filesystem/local:default' />
4133N/A </dependency>
4133N/A
4133N/A <instance name='version_56' enabled='false'>
4133N/A <method_context working_directory='/usr/mysql/5.6'>
4133N/A <method_credential user='mysql' group='mysql' />
4133N/A </method_context>
4133N/A
4133N/A <exec_method
4133N/A type='method'
4133N/A name='start'
4133N/A exec='/lib/svc/method/mysql_56 start'
4133N/A timeout_seconds='60' />
4133N/A
4133N/A <exec_method
4133N/A type='method'
4133N/A name='stop'
4133N/A exec=':kill'
4133N/A timeout_seconds='60' />
4133N/A
4133N/A <!--
4133N/A refresh method for this service is not defined
4133N/A because mysqld by itself cannot accept a HUP signal to
4133N/A reload the configuration file my.cnf
4133N/A -->
4133N/A
4133N/A <property_group name='mysql' type='application'>
4133N/A <propval name='cnf' type='astring'
4133N/A value='/etc/mysql/5.6/my.cnf' />
4133N/A <propval name='bin' type='astring'
4133N/A value='/usr/mysql/5.6/bin' />
4133N/A <propval name='data' type='astring'
4133N/A value='/var/mysql/5.6/data' />
4133N/A <propval name='value_authorization' type='astring'
4133N/A value='solaris.smf.value.mysql' />
4133N/A <propval name='action_authorization' type='astring'
4133N/A value='solaris.smf.manage.mysql' />
4133N/A </property_group>
4133N/A
4133N/A <property_group name='general' type='framework'>
4133N/A <propval name='action_authorization' type='astring'
4133N/A value='solaris.smf.manage.mysql' />
4133N/A <propval name='value_authorization' type='astring'
4133N/A value='solaris.smf.value.mysql' />
4133N/A </property_group>
4133N/A
4133N/A <template>
4133N/A <common_name>
4133N/A <loctext xml:lang='C'>
4133N/A MySQL Database Management System
4133N/A </loctext>
4133N/A </common_name>
4133N/A
4133N/A <documentation>
4133N/A <manpage title='MySQL 5.6' section='1' />
4133N/A <doc_link name='mysql.com'
4133N/A uri='http://dev.mysql.com/doc' />
4133N/A </documentation>
4133N/A </template>
4133N/A </instance>
4133N/A
4133N/A <stability value='Evolving' />
4133N/A</service>
4133N/A</service_bundle>