mms.xml revision 68f706f215aac19f240df3dc7e236a56df9f54b1
<?xml version="1.0"?>
<!--
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
See the License for the specific language governing permissions
and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-->
<service_bundle type='manifest' name='SUNWmmsu:mms'>
<service
name='application/management/mms'
type='service'
version='1'>
<dependency
name='network'
grouping='require_all'
restart_on='none'
type='service'>
</dependency>
<dependency
name='filesystem-local'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/local:default' />
</dependency>
<property_group name='general' type='framework'>
<propval
name='action_authorization'
type='astring'
value='solaris.smf.manage.mms' />
<propval
name='value_authorization'
type='astring'
value='solaris.smf.manage.mms' />
</property_group>
<property_group name='config' type='application'>
<propval
name='type'
type='astring'
value='server' />
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
<property_group name='manager' type='application'>
<!-- MM and watcher shared data. -->
<propval
name='host'
type='ustring'
value='localhost' />
<propval
name='port'
type='integer'
value='7151' />
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
<property_group name='ssl' type='application'>
<!--
MM and watcher shared ssl data files.
-->
<propval
name='enabled'
type='boolean'
value='false' />
<propval
name='verify'
type='boolean'
value='false' />
<propval
name='cert_file'
type='astring'
value='' />
<propval
name='pass_file'
type='astring'
value='' />
<propval
name='dh_file'
type='astring'
value='' />
<propval
name='crl_file'
type='astring'
value='' />
<propval
name='cipher'
type='astring'
value='' />
<propval
name='peer_file'
type='astring'
value='' />
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
<instance name='wcr' enabled='false'>
<!-- Watcher -->
<exec_method
type='method'
name='start'
timeout_seconds='60'>
</exec_method>
<exec_method
type='method'
name='stop'
exec=':kill'
timeout_seconds='60'>
</exec_method>
<exec_method
type='method'
name='refresh'
exec=':kill -HUP'
timeout_seconds='60'>
</exec_method>
<property_group name='option' type='application'>
<propval
name='ssi_path'
type='astring'
<propval
name='libapi_path'
type='astring'
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
</instance>
<instance name='db' enabled='false'>
<!-- PostgreSQL Database -->
<method_context>
<method_credential user='postgres' group='postgres' />
</method_context>
<exec_method
type='method'
name='start'
timeout_seconds='60'>
</exec_method>
<exec_method
type='method'
name='stop'
timeout_seconds='60'>
</exec_method>
<exec_method
type='method'
name='refresh'
timeout_seconds='60'>
</exec_method>
<property_group name='postgresql' type='application'>
<propval
name='bin'
type='astring'
<propval
name='data'
type='astring'
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
</instance>
<instance name='mm' enabled='false'>
<!-- Media Manager -->
<exec_method
type='method'
name='start'
timeout_seconds='60'>
</exec_method>
<exec_method
type='method'
name='stop'
exec=':kill'
timeout_seconds='60'>
</exec_method>
<exec_method
type='method'
name='refresh'
exec=':kill -HUP'
timeout_seconds='60'>
</exec_method>
<property_group name='db' type='application'>
<propval
name='host'
type='ustring'
value='localhost' />
<propval
name='port'
type='integer'
value='7656' />
<propval
name='user'
type='astring'
value='postgres' />
<propval
name='name'
type='astring'
value='mms' />
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
<property_group name='option' type='application'>
<propval
name='trace'
type='astring'
value='developer' />
<propval
name='db_reconnect_max_retry'
type='integer'
value='50' />
<propval
name='db_reconnect_timeout'
type='integer'
value='3' />
<propval
name='value_authorization'
type='astring'
value='solaris.smf.value.mms' />
</property_group>
</instance>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
Media Management System service
</loctext>
</common_name>
<documentation>
<manpage title='mms' section='5'
</documentation>
</template>
</service>
</service_bundle>