glance-scrubber.xml revision 2521
2521N/A<?xml version="1.0" ?>
2521N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
2521N/A<!--
2521N/A Copyright (c) 2013, 2014, 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-scrubber">
2521N/A
2521N/A <service version="1" type="service"
2521N/A name="application/openstack/glance/glance-scrubber">
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
2521N/A <exec_method timeout_seconds="60" type="method" name="start"
2521N/A exec="/lib/svc/method/glance-scrubber %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
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 Scrubbing Service
2521N/A </loctext>
2521N/A </common_name>
2521N/A <description>
2521N/A <loctext xml:lang="C">
2521N/A glance-scrubber is an utility that cleans up images that have been
2521N/A deleted. The mechanics of this differ depending on the backend store
2521N/A and pending_deletion options chosen.
2521N/A </loctext>
2521N/A </description>
2521N/A </template>
2521N/A </service>
2521N/A</service_bundle>