Skip to content

Commit

Permalink
Update pgbouncer to 1.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Sep 9, 2024
1 parent 4d69342 commit d812f36
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 308 deletions.
262 changes: 0 additions & 262 deletions specs/pgbouncer/SOURCES/pgbouncer.init

This file was deleted.

3 changes: 3 additions & 0 deletions specs/pgbouncer/SOURCES/pgbouncer.pam
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#%PAM-1.0
auth include password-auth
account include password-auth
21 changes: 15 additions & 6 deletions specs/pgbouncer/SOURCES/pgbouncer.service
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
[Unit]
Description=PgBouncer
After=syslog.target network.target
Description=A lightweight connection pooler for PostgreSQL
Documentation=man:pgbouncer(1)
After=network-online.target
Wants=network-online.target

[Service]
PIDFile=/var/run/pgbouncer/pgbouncer.pid
ExecStart=/etc/init.d/pgbouncer start
ExecStop=/etc/init.d/pgbouncer stop
ExecReload=/etc/init.d/pgbouncer reload
RemainAfterExit=yes
Type=notify
TimeoutSec=300

User=pgbouncer
Group=pgbouncer

Environment=BOUNCERCONF=/etc/pgbouncer/pgbouncer.ini

ExecStart=/usr/bin/pgbouncer -q ${BOUNCERCONF}
ExecReload=/usr/bin/pgbouncer -R -q ${BOUNCERCONF}

[Install]
WantedBy=multi-user.target
16 changes: 0 additions & 16 deletions specs/pgbouncer/SOURCES/pgbouncer.sysconfig

This file was deleted.

1 change: 1 addition & 0 deletions specs/pgbouncer/SOURCES/pgbouncer.tmpd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d /run/pgbouncer 0755 pgbouncer pgbouncer -
Loading

0 comments on commit d812f36

Please sign in to comment.