Mailman: avoid DB lockups on parallel servers

This commit is contained in:
Aurélien Bompard 2014-07-21 19:02:21 +00:00
parent ed9990e17b
commit 63a56a4532

View file

@ -19,6 +19,7 @@ chown mailman:mailman -R $INDEXDIR
chmod g+w -R $INDEXDIR
# Give database rights to the non-admin user
sleep $[ ( $RANDOM % 10 ) + 1 ]s # avoid simultaneous lockups on parallel servers. Yes, this is dirty.
$BASEDIR/bin/pg-give-rights.py > /dev/null
# SELinux contexts