- <?xml version="1.0"?>
-
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
-
<!--
-
ident "@(#)postgresql.xml 9.0.3 11/02/15 SMI"
-
By feifan@CU
-
-->
-
-
<service_bundle type='manifest' name='postgresql'>
-
-
<service
-
name='application/database/postgresql'
-
type='service'
-
version='1'>
-
-
<!--
-
Wait for all local filesystems to be mounted.
-
-->
-
<dependency
-
name='filesystem-local'
-
grouping='require_all'
-
restart_on='none'
-
type='service'>
-
<service_fmri value='svc:/system/filesystem/local:default' />
-
</dependency>
<!--
Wait for network loopback to be initialized.
-->
<dependency
name='loopback'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/loopback' />
</dependency>
-
<exec_method
-
type='method'
-
name='start'
-
exec='/lib/svc/method/postgres start'
-
timeout_seconds='200' />
-
-
<exec_method
-
type='method'
-
name='stop'
-
exec='/lib/svc/method/postgres stop'
-
timeout_seconds='200' />
-
-
<exec_method
-
type='method'
-
name='refresh'
-
exec='/lib/svc/method/postgres refresh'
-
timeout_seconds='60' />
-
-
<property_group name='general' type='framework'>
-
<propval name='value_authorization' type='astring'
-
value='solaris.smf.value.postgres' />
-
<propval name='action_authorization' type='astring'
-
value='solaris.smf.manage.postgres' />
-
</property_group>
-
-
<instance name='pgsql_32bit' enabled='false'>
-
-
<method_context>
-
<method_credential user='postgres' group='postgres' />
-
</method_context>
-
-
<property_group name='postgresql' type='application'>
-
<propval name='bin' type='astring' value='/export/home/postgres/pgsql/bin' />
-
<propval name='data' type='astring' value='/export/home/postgres/data' />
-
<propval name='log' type='astring' value='postmaster.log' />
-
<propval name='value_authorization' type='astring' value='solaris.smf.value.postgres' />
-
</property_group>
-
-
</instance>
-
-
<stability value='Evolving' />
-
-
<template>
-
<common_name>
-
<loctext xml:lang='C'>
-
PostgreSQL RDBMS
-
</loctext>
-
</common_name>
-
<documentation>
-
<manpage title='postgres' section='5' />
-
<doc_link name='postgresql.org'
-
uri='http://postgresql.org' />
-
</documentation>
-
</template>
-
-
</service>
-
</service_bundle>