[server] move security/integrity hook management away from InternalSession.__init__
and to Repository.internal_{session,cnx} instead. Lets internal_cnx avoid
deprecation warnings.
#! /bin/sh -e
case "$1" in
remove)
if [ -x "/etc/init.d/cubicweb-ctl" ]; then
invoke-rc.d cubicweb-ctl stop || true
fi
;;
esac
#DEBHELPER#
exit 0