Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 334120 Details for
Bug 410645
dev-db/pgbouncer -o/--oknodo is deprecated and will be removed in the future
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pgbouncer.initd
pgbouncer.initd (text/plain), 925 bytes, created by
Johan Bergström
on 2013-01-03 02:35:49 UTC
(
hide
)
Description:
pgbouncer.initd
Filename:
MIME Type:
Creator:
Johan Bergström
Created:
2013-01-03 02:35:49 UTC
Size:
925 bytes
patch
obsolete
>#!/sbin/runscript > >extra_started_commands="reload upgrade" > >if [ -d /run ] ; then > RUNDIR=/run/pgbouncer >else > RUNDIR=/var/run/pgbouncer >fi > >depend() { > need net > after postgresql >} > >start() { > mkdir -p ${RUNDIR} > chown pgbouncer:pgbouncer ${RUNDIR} > > ebegin "Starting pgbouncer" > start-stop-daemon --start --pidfile ${RUNDIR}/pgbouncer.pid \ > --exec /usr/bin/pgbouncer -- -q -d -u pgbouncer /etc/pgbouncer.conf > eend $? "Failed to start pgbouncer" >} > >stop() { > ebegin "Stopping pgbouncer" > start-stop-daemon --stop --quiet --pidfile ${RUNDIR}/pgbouncer.pid > eend $? >} > >reload() { > ebegin "Gracefully reloading pgbouncer" > kill -HUP $(head -n1 ${RUNDIR}/pgbouncer.pid) > eend $? >} > >upgrade() { > egrep -q "^unix_socket_dir" /etc/pgbouncer.conf || \ > eerror "Not running with unix sockets, cannot upgrade" > ebegin "Gracefully upgrading pgbouncer" > /usr/bin/pgbouncer -R -q -d -u pgbouncer /etc/pgbouncer.conf > eend $? >}
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 410645
: 334120