debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 13 Mar 2014 16:57:22 +0100
changeset 9659 c45073a96aee
parent 0 b97547f5f1fa
permissions -rw-r--r--
[web] return 403 for Unauthorized, not 401 401 is reserved to HTTP authentication. Just because it's also called "unauthorized" doesn't mean it's the same as cubicweb's Unauthorized exception. Closes #3648809.

#! /bin/sh -e

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