2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5 Copyright 2013 Alexander Pyhalov. All rights reserved.
6 Use is subject to license terms.
10 The contents of this file are subject to the terms of the
11 Common Development and Distribution License (the "License").
12 You may not use this file except in compliance with the License.
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
27 ident "@(#)pgagent.xml 1.1 08/04/28 SMI"
29 NOTE: This service manifest is not editable; its contents will
30 be overwritten by package or patch operations, including
31 operating system upgrade. Make customizations in a different
35 <service_bundle type='manifest' name='pgagent'>
38 name='application/database/pgagent'
42 <!-- Wait for network interfaces to be initialized. -->
45 grouping='require_all'
48 <service_fmri value='svc:/milestone/network:default' />
51 <!-- Wait for all local filesystems to be mounted. -->
53 name='filesystem-local'
54 grouping='require_all'
57 <service_fmri value='svc:/system/filesystem/local:default' />
64 exec='/usr/bin/pgagent -t %{pgagent/poll_time} -r %{pgagent/retry_period} -s "%{pgagent/log}" -l "%{pgagent/verbosity}" %{pgagent/conninfo}'
65 timeout_seconds='10' />
71 timeout_seconds='5' />
74 <instance name='default' enabled='false'>
76 <method_credential user='postgres' group='postgres' />
79 <property_group name='pgagent' type='application'>
80 <propval name='conninfo' type='astring' value='host=127.0.0.1 dbname=pgagent user=postgres' />
81 <propval name='log' type='astring' value='/var/postgres/pgagent/pgagent.log' />
82 <propval name='poll_time' type='integer' value='10' />
83 <propval name='retry_period' type='integer' value='30' />
84 <propval name='verbosity' type='integer' value='0' />
88 <stability value='Unstable' />
92 <loctext xml:lang='C'>
93 pgAgent job scheduler for PostgreSQL
97 <manpage title='pgagent' section='1'
98 manpath='/usr/share/man' />