Skip to content

Instantly share code, notes, and snippets.

@timothyklim
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyklim/11178568 to your computer and use it in GitHub Desktop.
Save timothyklim/11178568 to your computer and use it in GitHub Desktop.
<?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