debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 22 Feb 2013 11:17:02 +0100
changeset 8721 b399c87df63c
parent 0 b97547f5f1fa
permissions -rw-r--r--
[devtools] add http_publish to CubicWebTC (closes #2565882) Fakes a http request, without overriding the normal error handling. Returns the request object so the caller can check for errors.

#! /bin/sh -e

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