Commit 03b29916 authored by Christoph Berg's avatar Christoph Berg

Support running under different group via RUNASUSER in the init script....

Support running under different group via RUNASUSER in the init script. Closes: #768261, thanks to Antti Salmela for the patch.
parent a9dd3246
pgbouncer (1.6-1) unstable; urgency=medium
* New upstream version.
* Note CVE number in last changelog entry.
* Support running under different group via RUNASUSER in the init script.
Closes: #768261, thanks to Antti Salmela for the patch.
* Update watch file.
* Note CVE number in last changelog entry.
-- Christoph Berg <myon@debian.org> Wed, 26 Aug 2015 22:20:45 +0200
......
......@@ -63,7 +63,7 @@ case "$1" in
if [ $? -eq 0 ] ; then
OLDPID=$(cat $PIDFILE)
log_daemon_msg "Invoking PgBouncer restart" $NAME
su -c "$DAEMON -R $OPTS 2> /dev/null" - $RUNASUSER
su -c "$DAEMON -R $OPTS 2> /dev/null" - ${RUNASUSER%:*}
if [ $? -ne 0 ]; then
log_end_msg 1
log_warning_msg "could not contact running instance"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment