debian/cubicweb-ctl.postrm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 31 Mar 2010 12:53:24 +0200
branchstable
changeset 5108 8495d580a580
parent 0 b97547f5f1fa
child 10559 5821ae654dfd
permissions -rw-r--r--
[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 -e
if [ "$1" = "purge" ] ; then
        update-rc.d cubicweb remove >/dev/null
fi
 
#DEBHELPER#
 
exit 0