glance-db.xml revision 4507
0N/A<?xml version="1.0" ?>
0N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
0N/A<!--
0N/A Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A
0N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
0N/A not use this file except in compliance with the License. You may obtain
0N/A a copy of the License at
0N/A
0N/A http://www.apache.org/licenses/LICENSE-2.0
0N/A
0N/A Unless required by applicable law or agreed to in writing, software
0N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0N/A License for the specific language governing permissions and limitations
0N/A under the License.
0N/A
0N/A NOTE: This service manifest is not editable; its contents will
0N/A be overwritten by package or patch operations, including
0N/A operating system upgrade. Make customizations in a different
0N/A file.
0N/A-->
0N/A<service_bundle type="manifest" name="glance-db">
0N/A
0N/A <service version="1" type="service"
0N/A name="application/openstack/glance/glance-db">
0N/A
0N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
0N/A type='service'>
0N/A <service_fmri value='svc:/milestone/multi-user:default' />
0N/A </dependency>
0N/A
0N/A <dependency name='upgrade' grouping='require_all' restart_on='none'
0N/A type='service'>
0N/A <service_fmri value='svc:/application/openstack/glance/glance-upgrade' />
0N/A </dependency>
0N/A
0N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
0N/A type='service'>
0N/A <service_fmri value='svc:/network/ntp'/>
0N/A </dependency>
0N/A
0N/A <dependency name='mysql' grouping='optional_all' restart_on='none'
0N/A type='service'>
0N/A <service_fmri value='svc:/application/database/mysql'/>
0N/A </dependency>
0N/A
0N/A <logfile_attributes permissions='600'/>
0N/A
0N/A <exec_method timeout_seconds="600" type="method" name="start"
0N/A exec="/usr/bin/glance-manage db_sync">
0N/A <method_context>
0N/A <method_credential user='glance' group='glance' />
0N/A </method_context>
0N/A </exec_method>
0N/A <exec_method timeout_seconds="60" type="method" name="stop"
0N/A exec=":true"/>
0N/A
0N/A <property_group type="framework" name="startd">
0N/A <propval type="astring" name="duration" value="transient"/>
0N/A </property_group>
0N/A
0N/A <instance name='default' enabled='false'>
0N/A
0N/A <property_group name='general' type='framework'>
0N/A <propval name='action_authorization' type='astring'
0N/A value='solaris.smf.manage.glance'/>
0N/A <propval name='value_authorization' type='astring'
0N/A value='solaris.smf.value.glance'/>
0N/A </property_group>
0N/A </instance>
0N/A
0N/A <template>
0N/A <common_name>
0N/A <loctext xml:lang="C">
0N/A OpenStack Glance Database Creation Service
0N/A </loctext>
0N/A </common_name>
0N/A <description>
0N/A <loctext xml:lang="C">
0N/A glance-db is a transient service to create the Glance database if
0N/A required.
0N/A </loctext>
0N/A </description>
0N/A </template>
0N/A </service>
0N/A</service_bundle>
0N/A