debian/cubicweb-twisted.postinst
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 23 Nov 2012 16:12:19 +0100
changeset 9031 6ff29f2879da
parent 0 b97547f5f1fa
permissions -rw-r--r--
web/application: instantiate the repository outside of CubicWebPublisher This improves decoupling and allows ``CubicWebPublisher`` user to choose which argument are used during ``Repository`` instantiation. In particular is allows caller to provide a ``TaskManager``. The `vreg` argument of publisher is made mandatory. See CubicWebPublisher docstring for details. Related to #2249513

#! /bin/sh -e

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