swift-proxy-server.xml revision 4070
80N/A<?xml version="1.0" ?>
80N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
80N/A<!--
80N/A Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
80N/A
80N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
80N/A not use this file except in compliance with the License. You may obtain
80N/A a copy of the License at
80N/A
80N/A http://www.apache.org/licenses/LICENSE-2.0
80N/A
80N/A Unless required by applicable law or agreed to in writing, software
80N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
80N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
80N/A License for the specific language governing permissions and limitations
80N/A under the License.
80N/A
80N/A NOTE: This service manifest is not editable; its contents will
80N/A be overwritten by package or patch operations, including
80N/A operating system upgrade. Make customizations in a different
80N/A file.
80N/A-->
80N/A<service_bundle type="manifest" name="swift-proxy-server">
80N/A
80N/A <service version="1" type="service"
80N/A name="application/openstack/swift/swift-proxy-server">
80N/A
80N/A <dependency name='memcached' grouping='require_all' restart_on='error'
80N/A type='service'>
80N/A <service_fmri value='svc:/application/database/memcached:default' />
80N/A </dependency>
80N/A
80N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
80N/A type='service'>
80N/A <service_fmri value='svc:/milestone/multi-user:default' />
99N/A </dependency>
99N/A
80N/A <dependency name='upgrade' grouping='require_all' restart_on='none'
80N/A type='service'>
80N/A <service_fmri value='svc:/application/openstack/swift/swift-upgrade' />
80N/A </dependency>
80N/A
80N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
83N/A type='service'>
83N/A <service_fmri value='svc:/network/ntp'/>
83N/A </dependency>
80N/A
80N/A <logfile_attributes permissions='600'/>
80N/A
80N/A <exec_method timeout_seconds="60" type="method" name="start"
80N/A exec="/lib/svc/method/swift-proxy-server %m">
80N/A <method_context>
80N/A <method_credential user='swift' group='swift'
80N/A privileges='basic,{zone}:/system/volatile/swift' />
80N/A </method_context>
80N/A </exec_method>
80N/A <exec_method timeout_seconds="60" type="method" name="stop"
80N/A exec=":kill"/>
80N/A
80N/A <instance name='default' enabled='false'>
80N/A <!-- to start/stop/refresh the service -->
80N/A <property_group name='general' type='framework'>
80N/A <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 Proxy Service
</loctext>
</common_name>
<description>
<loctext xml:lang="C">
Swift proxy servers accept incoming requests via the OpenStack Object
API or just raw HTTP.
</loctext>
</description>
<documentation>
<manpage title="swift-proxy-server" section="1" />
<manpage title="proxy-server.conf" section="4" />
</documentation>
</template>
</service>
</service_bundle>