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-registry">
2521N/A
2521N/A <service version="1" type="service"
2521N/A name="application/openstack/glance/glance-registry">
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>
2892N/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
3998N/A <!-- create a dependency on the glance-db service so the glance-api,
3998N/A glance-registry, and glance-scrubber services do not collide when
3998N/A creating the database -->
2521N/A <dependency name='glance_db' grouping='optional_all' restart_on='error'
2521N/A type='service'>
2521N/A <service_fmri value='svc:/application/openstack/glance/glance-db'/>
2521N/A </dependency>
2521N/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='rabbitmq' grouping='optional_all' restart_on='none'
3998N/A type='service'>
4474N/A <service_fmri value='svc:/application/rabbitmq'/>
3998N/A </dependency>
3998N/A
2892N/A <logfile_attributes permissions='600'/>
2892N/A
2521N/A <exec_method timeout_seconds="60" type="method" name="start"
2521N/A exec="/lib/svc/method/glance-registry %m">
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=":kill"/>
2521N/A
6850N/A <property_group name="startd" type="framework">
6850N/A <!-- glance-registry manages its children so we should ignore their
6850N/A death -->
6850N/A <propval name='ignore_error' type='astring' value='signal' />
6850N/A </property_group>
6850N/A
2521N/A <instance name='default' enabled='false'>
2521N/A <!-- to start/stop/refresh the service -->
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 Image Metadata Service
2521N/A </loctext>
2521N/A </common_name>
2521N/A <description>
2521N/A <loctext xml:lang="C">
2521N/A glance-registry is a server daemon that serves image metadata through
2521N/A a REST-like API.
2521N/A </loctext>
2521N/A </description>
2521N/A </template>
2521N/A </service>
2521N/A</service_bundle>