[web] fix #724769: Use RemoteCallFailed in the publisher's error_handler
On json_request, errors handled by the publisher should raise RemoteCallFailed
exceptions instead of standard StatusResponse so that errbacks get called
normally on the client side.
#! /bin/sh -e
if [ -x "/etc/init.d/cubicweb-ctl" ]; then
invoke-rc.d cubicweb-ctl restart || true
fi
#DEBHELPER#
exit 0