debian/cubicweb-twisted.postinst
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 01 Jul 2014 16:55:49 +0200
changeset 10351 91e63306e277
parent 0 b97547f5f1fa
permissions -rw-r--r--
[connection] replace .running_dbapi_query with .hooks_in_progress The thing was badly named. It tries to help distinguish between queries issued directly by the programmer (e.g in the views: cnx.execute(...)) from queries issued from the hooks, operations ... or even the repository or the native source objects. It worked heuristically being associated with the security being disabled. We provide a better name and an implementation distinct from the security management methods. Related to #3933480.

#! /bin/sh -e

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0