swift-object-updater.xml revision 2810
2810N/A<?xml version="1.0" ?>
2810N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
2810N/A<!--
2810N/A Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2810N/A
2810N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
2810N/A not use this file except in compliance with the License. You may obtain
2810N/A a copy of the License at
2810N/A
2810N/A http://www.apache.org/licenses/LICENSE-2.0
2810N/A
2810N/A Unless required by applicable law or agreed to in writing, software
2810N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
2810N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
2810N/A License for the specific language governing permissions and limitations
2810N/A under the License.
2810N/A
2810N/A NOTE: This service manifest is not editable; its contents will
2810N/A be overwritten by package or patch operations, including
2810N/A operating system upgrade. Make customizations in a different
2810N/A file.
2810N/A-->
2810N/A<service_bundle type="manifest" name="swift-object-updater">
2810N/A
2810N/A <service version="1" type="service"
2810N/A name="application/openstack/swift/swift-object-updater">
2810N/A
2810N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
2810N/A type='service'>
2810N/A <service_fmri value='svc:/milestone/multi-user:default' />
2810N/A </dependency>
2810N/A
<exec_method timeout_seconds="60" type="method" name="start"
exec="/lib/svc/method/swift-object-updater %m">
<method_context>
<method_credential user='swift' group='swift'
privileges='basic,{zone}:/system/volatile/swift' />
</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.swift' />
<propval name='value_authorization' type='astring'
value='solaris.smf.value.swift' />
</property_group>
</instance>
<template>
<common_name>
<loctext xml:lang="C">
OpenStack Swift Object Updater Service
</loctext>
</common_name>
<description>
<loctext xml:lang="C">
The Swift object updater is responsible for updating object
information in container listings.
</loctext>
</description>
<documentation>
<manpage title="swift-object-updater" section="1" />
<manpage title="object-server.conf" section="4" />
</documentation>
</template>
</service>
</service_bundle>