Last active
August 29, 2015 14:00
-
-
Save timothyklim/11178568 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> | |
<service_bundle type='manifest' name='pgbouncer'> | |
<service name='pkgsrc/pgbouncer' type='service' version='1'> | |
<create_default_instance enabled='false' /> | |
<single_instance /> | |
<dependency name='network' grouping='require_all' restart_on='none' type='service'> | |
<service_fmri value='svc:/milestone/network:default' /> | |
</dependency> | |
<dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'> | |
<service_fmri value='svc:/system/filesystem/local:default' /> | |
</dependency> | |
<exec_method type='method' name='start' exec='/opt/local/bin/pgbouncer -d /opt/local/etc/pgbouncer.ini' timeout_seconds='300' /> | |
<exec_method type='method' name='stop' exec=':kill' timeout_seconds='5' /> | |
<exec_method type='method' name='refresh' exec='/opt/local/bin/pgbouncer -R /opt/local/etc/pgbouncer.ini' timeout_seconds='60' /> | |
<stability value='Unstable' /> | |
<template> | |
<common_name> | |
<loctext xml:lang='C'>PgBouncer</loctext> | |
</common_name> | |
<documentation> | |
<manpage title='pgbouncer' section='1M' /> | |
</documentation> | |
</template> | |
</service> | |
</service_bundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment