Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174005 Details for
Bug 243232
Ebuild for dev-db/pgbouncer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d script
pgbouncer-1.2.3 (text/plain), 1017 bytes, created by
Mike Weissman
on 2008-12-01 21:33:57 UTC
(
hide
)
Description:
init.d script
Filename:
MIME Type:
Creator:
Mike Weissman
Created:
2008-12-01 21:33:57 UTC
Size:
1017 bytes
patch
obsolete
>#!/sbin/runscript ># pgbouncer Start the PgBouncer PostgreSQL pooler > >opts="start stop reload checkconfig" > >depend() { > need net > after postgresql >} > >checkconfig(){ >test -f /etc/pgbouncer.conf >result=$? >eend $result >} > >start() { > checkconfig || return 1 > ebegin "Starting pgbouncer as pgbouncer user" > ># if [ -f "/var/run/postgresql/pgbouncer.pid" ] ; then ># rm -f "/var/run/postgresql/pgbouncer.pid" ># fi > PIDFILE="/var/run/postgresql/pgbouncer.pid" > TIMEOUT=${TIMEOUT:-10} > PGBOUNCER_OPTS="-d -u pgbouncer /etc/pgbouncer.conf" > /usr/bin/pgbouncer ${PGBOUNCER_OPTS} > > let i=0 > while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do > sleep 1 && i=$(expr $i + 1) > done > test $i -le ${TIMEOUT} > eend $? >} > >stop() { > ebegin "Stopping pgbouncer" > start-stop-daemon --stop --quiet --pidfile /var/run/postgresql/pgbouncer.pid > eend $? >} >reload() { > ebegin "Reloading pgbouncer configuration" > start-stop-daemon --stop --pidfile /var/run/postgresql/pgbouncer.pid --signal HUP >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 243232
:
169434
|
169436
|
169456
|
169484
|
169486
|
174004
|
174005
|
174006
|
187023
|
190924
|
292515
|
292517