Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 665038 Details for
Bug 747160
dev-db/pgbouncer : add systemd support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pgbouncer.service v.3
pgbouncer.service (text/x-dbus-service), 1.25 KB, created by
Vasilis Lourdas
on 2020-10-13 12:18:33 UTC
(
hide
)
Description:
pgbouncer.service v.3
Filename:
MIME Type:
Creator:
Vasilis Lourdas
Created:
2020-10-13 12:18:33 UTC
Size:
1.25 KB
patch
obsolete
># Example systemd service unit for PgBouncer ># ># - Adjust the paths in ExecStart for your installation. ># ># - The User setting requires careful consideration. PgBouncer needs ># to be able to place a Unix-domain socket file where PostgreSQL ># clients will look for it. In the olden days, this was in /tmp, ># but systems using systemd now prefer something like ># /var/run/postgresql/. But then some systems also lock down that ># directory so that only the postgres user can write to it. That ># means you need to either ># ># - run PgBouncer as the postgres user, or ># ># - create a separate user and add it to the postgres group and ># make /var/run/postgresql/ group-writable, or ># ># - use systemd to create the sockets; see pgbouncer.socket nearby. ># ># For packagers and deployment systems, this requires some ># coordination between the PgBouncer and the PostgreSQL ># packages/components. ># >[Unit] >Description=connection pooler for PostgreSQL >Documentation=man:pgbouncer(1) >Documentation=https://www.pgbouncer.org/ >After=network.target > >[Service] >Type=notify >User=postgres >RuntimeDirectory=pgbouncer >ExecStart=/usr/bin/pgbouncer /etc/pgbouncer.ini >ExecReload=/bin/kill -HUP $MAINPID >KillSignal=SIGINT >KillMode=mixed > >[Install] >WantedBy=multi-user.target
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 747160
:
664474
|
664582
|
664585
| 665038