debian/cubicweb-server.prerm
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 20 Jul 2016 09:21:51 +0200
changeset 11430 1ea5ba74a13c
parent 0 b97547f5f1fa
permissions -rw-r--r--
[native] Use cnx.system_sql instead of doexec method in syntax_tree_search The latter handles connection issues and tries to reconnect. Method syntax_tree_search appears to be called from quite a few place where it seems useful to be resilient to connection issues (authentication for instance). This reconnection logic appears to have disappeared at some point when working on https://www.cubicweb.org/2919309. Could not find the exact reason though...

#! /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