Commit d2ba6a3f authored by Martin Pitt's avatar Martin Pitt

debian/tests/connect: Avoid systemctl redirection of our init script

So that pgbouncer and its socket stay within the pg_virtualenv mounts. Fixes
autopkgtest failure under systemd.
parent 3155b342
pgbouncer (1.5.4-8) UNRELEASED; urgency=medium
* debian/tests/connect: Avoid systemctl redirection of our init script, so
that pgbouncer and its socket stay within the pg_virtualenv mounts.
-- Martin Pitt <mpitt@debian.org> Thu, 12 Mar 2015 13:14:52 +0100
pgbouncer (1.5.4-7) unstable; urgency=medium
* Remove build timestamp from DBGVER to make binary builds reproducible.
......
......@@ -11,6 +11,10 @@ if [ -z "$WRAPPED" ]; then
exit
fi
# don't call systemctl, so that we stay within the pg_virtualenv
# otherwise pgbouncer will run and create its socket outside
export _SYSTEMCTL_SKIP_REDIRECT=true
/etc/init.d/pgbouncer stop
set -e
......
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