1 |
commit: 68521fe516d66a94851bf09352e6155d5a1347a6 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 28 10:09:03 2018 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 28 10:09:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68521fe5 |
7 |
|
8 |
dev-db/pgbouncer: Specify group to run under |
9 |
|
10 |
Bug: https://bugs.gentoo.org/654136 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
dev-db/pgbouncer/files/pgbouncer.initd-r2 | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r2 b/dev-db/pgbouncer/files/pgbouncer.initd-r2 |
17 |
old mode 100644 |
18 |
new mode 100755 |
19 |
index a2a79a0784a..72e0103e0b5 |
20 |
--- a/dev-db/pgbouncer/files/pgbouncer.initd-r2 |
21 |
+++ b/dev-db/pgbouncer/files/pgbouncer.initd-r2 |
22 |
@@ -48,7 +48,7 @@ start() { |
23 |
--pidfile ${PIDFILE} \ |
24 |
--background \ |
25 |
--make-pidfile \ |
26 |
- --user pgbouncer \ |
27 |
+ --user pgbouncer:postgres \ |
28 |
--exec /usr/bin/pgbouncer \ |
29 |
-- -q "${INIFILE}" |
30 |
eend $? |
31 |
@@ -67,7 +67,7 @@ stop() { |
32 |
|
33 |
# Loops through nice and force quit in one go. |
34 |
start-stop-daemon --stop \ |
35 |
- --user pgbouncer \ |
36 |
+ --user pgbouncer:postgres \ |
37 |
--pidfile ${PIDFILE} \ |
38 |
--retry ${retries} |