[session] try to reconnect on unexpected error in system_sql. We need this for proper reconnection of pool used by hooks or looping task doing sql queries (such as cw_cleanup_transaction)
#! /bin/sh -ecase "$1" in remove) if [ -x "/etc/init.d/cubicweb-ctl" ]; then invoke-rc.d cubicweb-ctl stop || true fi ;;esac#DEBHELPER#exit 0