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