dev-db/pgbouncer: Specify group to run under
authorAaron W. Swenson <titanofold@gentoo.org>
Tue, 28 Aug 2018 10:09:03 +0000 (06:09 -0400)
committerAaron W. Swenson <titanofold@gentoo.org>
Tue, 28 Aug 2018 10:09:03 +0000 (06:09 -0400)
Bug: https://bugs.gentoo.org/654136
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-db/pgbouncer/files/pgbouncer.initd-r2 [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index a2a79a0..72e0103
@@ -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}