glance-registry.xml revision 4070
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<?xml version="1.0" ?>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<!--
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Licensed under the Apache License, Version 2.0 (the "License"); you may
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte not use this file except in compliance with the License. You may obtain
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte a copy of the License at
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte http://www.apache.org/licenses/LICENSE-2.0
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Unless required by applicable law or agreed to in writing, software
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte License for the specific language governing permissions and limitations
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte NOTE: This service manifest is not editable; its contents will
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte be overwritten by package or patch operations, including
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte operating system upgrade. Make customizations in a different
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte file.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte-->
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte<service_bundle type="manifest" name="glance-registry">
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte <service version="1" type="service"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte name="application/openstack/glance/glance-registry">
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte <dependency name='multiuser' grouping='require_all' restart_on='error'
type='service'>
<service_fmri value='svc:/milestone/multi-user:default' />
</dependency>
<dependency name='upgrade' grouping='require_all' restart_on='none'
type='service'>
<service_fmri value='svc:/application/openstack/glance/glance-upgrade' />
</dependency>
<!-- create a dependency on the glance-db service so the glance-api,
glance-registry, and glance-scrubber services do not collide when
creating the database -->
<dependency name='glance_db' grouping='optional_all' restart_on='error'
type='service'>
<service_fmri value='svc:/application/openstack/glance/glance-db'/>
</dependency>
<dependency name='ntp' grouping='optional_all' restart_on='none'
type='service'>
<service_fmri value='svc:/network/ntp'/>
</dependency>
<dependency name='rabbitmq' grouping='optional_all' restart_on='none'
type='service'>
<service_fmri value='svc:/network/amqp/rabbitmq'/>
</dependency>
<logfile_attributes permissions='600'/>
<exec_method timeout_seconds="60" type="method" name="start"
exec="/lib/svc/method/glance-registry %m">
<method_context>
<method_credential user='glance' group='glance' />
</method_context>
</exec_method>
<exec_method timeout_seconds="60" type="method" name="stop"
exec=":kill"/>
<instance name='default' enabled='false'>
<!-- to start/stop/refresh the service -->
<property_group name='general' type='framework'>
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.glance' />
<propval name='value_authorization' type='astring'
value='solaris.smf.value.glance' />
</property_group>
</instance>
<template>
<common_name>
<loctext xml:lang="C">
OpenStack Glance Image Metadata Service
</loctext>
</common_name>
<description>
<loctext xml:lang="C">
glance-registry is a server daemon that serves image metadata through
a REST-like API.
</loctext>
</description>
</template>
</service>
</service_bundle>