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