testing: simplify Akonadi server startup

Do not run agents that we do not need by setting
AKONADI_DISABLE_AGENT_AUTOSTART=1. See "[Kde-pim] configuring Akonadi server".
This commit is contained in:
Patrick Ohly 2014-03-19 06:02:18 -07:00
parent 6655e5ebe8
commit 05c5d53627

View file

@ -74,6 +74,9 @@ case "$@" in *test-dbus.py\ *) akonadi=;;
esac
if [ "$DBUS_SESSION_SH_AKONADI" ] && [ "$akonadi" ]; then
# Prevents running unnecessary daemons which do not necessarily
# work (see "[Kde-pim] configuring Akonadi server").
export AKONADI_DISABLE_AGENT_AUTOSTART=1
akonadictl start 1>&2
SLEEP=5
else