debian/cubicweb-server.postinst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Jul 2009 17:57:19 +0200
branchstable
changeset 2255 c346af0727ca
parent 0 b97547f5f1fa
permissions -rw-r--r--
more generic way to detect json requests (not yet perfect though)

#! /bin/sh -e

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