2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5 Use is subject to license terms.
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
26 NOTE: This service manifest is not editable; its contents will
27 be overwritten by package or patch operations, including
28 operating system upgrade. Make customizations in a different
32 <service_bundle type='manifest' name='postgresql_14'>
35 name='application/database/postgresql_14'
40 Wait for network interfaces to be initialized.
44 grouping='require_all'
47 <service_fmri value='svc:/milestone/network:default' />
51 Wait for all local filesystems to be mounted.
54 name='filesystem-local'
55 grouping='require_all'
58 <service_fmri value='svc:/system/filesystem/local:default' />
64 exec='/lib/svc/method/postgres_14 start'
65 timeout_seconds='60' />
70 exec='/lib/svc/method/postgres_14 stop'
71 timeout_seconds='60' />
76 exec='/lib/svc/method/postgres_14 refresh'
77 timeout_seconds='60' />
80 Both action_authorization and value_authorization are needed
81 to allow the framework general/enabled property to be changed
82 when performing action (enable, disable, etc) on the service.
84 <property_group name='general' type='framework'>
85 <propval name='value_authorization' type='astring'
86 value='solaris.smf.value.postgres' />
87 <propval name='action_authorization' type='astring'
88 value='solaris.smf.manage.postgres' />
91 <instance name='default' enabled='false'>
94 <method_credential user='postgres' group='postgres' />
98 Make sure the data configurable property points to the
99 appropriate database directory and port number in
100 postgresql.conf is different than the other instances.
102 <property_group name='postgresql_14' type='application'>
103 <propval name='bin' type='astring'
104 value='/usr/postgres/14/bin' />
105 <propval name='data' type='astring'
106 value='/var/postgres/14/data' />
107 <propval name='log' type='astring'
108 value='server.log' />
109 <propval name='initialized' type='boolean'
111 <propval name='value_authorization' type='astring'
112 value='solaris.smf.value.postgres' />
117 <stability value='Evolving' />
121 <loctext xml:lang='C'>
122 PostgreSQL RDBMS version 14