properly call [re]set_pool, fix connection handling so we have a change to get cw running on top of a sqlite dabase with threads activated
/var/log/cubicweb/*.log {
weekly
missingok
rotate 10
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d cubicweb reload > /dev/null; \
else \
/etc/init.d/cubicweb reload > /dev/null; \
fi; \
endscript
}