2810N/A<?xml version="1.0" ?>
2810N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
2810N/A<!--
4070N/A Copyright (c) 2013, 2015, 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-server">
2810N/A
2810N/A <service version="1" type="service"
2810N/A name="application/openstack/swift/swift-object-server">
2810N/A
2810N/A <dependency name='memcached' grouping='require_all' restart_on='error'
2810N/A type='service'>
2810N/A <service_fmri value='svc:/application/database/memcached:default' />
2810N/A </dependency>
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
4070N/A <dependency name='upgrade' grouping='require_all' restart_on='none'
4070N/A type='service'>
4070N/A <service_fmri value='svc:/application/openstack/swift/swift-upgrade' />
4070N/A </dependency>
4070N/A
2900N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
2900N/A type='service'>
2900N/A <service_fmri value='svc:/network/ntp'/>
2900N/A </dependency>
2900N/A
2900N/A <logfile_attributes permissions='600'/>
2900N/A
2810N/A <exec_method timeout_seconds="60" type="method" name="start"
2810N/A exec="/lib/svc/method/swift-object-server %m">
2810N/A <method_context>
2810N/A <method_credential user='swift' group='swift'
2810N/A privileges='basic,{zone}:/system/volatile/swift' />
2810N/A </method_context>
2810N/A </exec_method>
2810N/A <exec_method timeout_seconds="60" type="method" name="stop"
2810N/A exec=":kill"/>
2810N/A
2810N/A <instance name='default' enabled='false'>
2810N/A <!-- to start/stop/refresh the service -->
2810N/A <property_group name='general' type='framework'>
2810N/A <propval name='action_authorization' type='astring'
2810N/A value='solaris.smf.manage.swift' />
2810N/A <propval name='value_authorization' type='astring'
2810N/A value='solaris.smf.value.swift' />
2810N/A </property_group>
2810N/A </instance>
2810N/A
2810N/A <template>
2810N/A <common_name>
2810N/A <loctext xml:lang="C">
2810N/A OpenStack Swift Object Service
2810N/A </loctext>
2810N/A </common_name>
2810N/A <description>
2810N/A <loctext xml:lang="C">
2810N/A Swift object servers manage actual objects (i.e., files) on the
2810N/A storage nodes.
2810N/A </loctext>
2810N/A </description>
2810N/A <documentation>
2810N/A <manpage title="swift-object-server" section="1" />
2810N/A <manpage title="object-server.conf" section="4" />
2810N/A </documentation>
2810N/A </template>
2810N/A </service>
2810N/A</service_bundle>