summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2018-08-28 06:09:03 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2018-08-28 06:09:03 -0400
commit68521fe516d66a94851bf09352e6155d5a1347a6 (patch)
treeb21f863e5c1a60f0e43e2d1f53e3ae075ef0211a /dev-db/pgbouncer
parentapp-admin/filebeat: bump to 6.3.2 (diff)
downloadgentoo-68521fe516d66a94851bf09352e6155d5a1347a6.tar.gz
gentoo-68521fe516d66a94851bf09352e6155d5a1347a6.tar.bz2
gentoo-68521fe516d66a94851bf09352e6155d5a1347a6.zip
dev-db/pgbouncer: Specify group to run under
Bug: https://bugs.gentoo.org/654136 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-db/pgbouncer')
-rwxr-xr-x[-rw-r--r--]dev-db/pgbouncer/files/pgbouncer.initd-r24
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r2 b/dev-db/pgbouncer/files/pgbouncer.initd-r2
index a2a79a0784a7..72e0103e0b5d 100644..100755
--- a/dev-db/pgbouncer/files/pgbouncer.initd-r2
+++ b/dev-db/pgbouncer/files/pgbouncer.initd-r2
@@ -48,7 +48,7 @@ start() {
--pidfile ${PIDFILE} \
--background \
--make-pidfile \
- --user pgbouncer \
+ --user pgbouncer:postgres \
--exec /usr/bin/pgbouncer \
-- -q "${INIFILE}"
eend $?
@@ -67,7 +67,7 @@ stop() {
# Loops through nice and force quit in one go.
start-stop-daemon --stop \
- --user pgbouncer \
+ --user pgbouncer:postgres \
--pidfile ${PIDFILE} \
--retry ${retries}