[controllers] allow onsuccess / onfailure callback to be passed to validateform
For instance :
validateform?__onsuccess=wp.addAndSelectHall
will call the addAndSelectHall function on success rather than redirecting
to a specific URL.
#! /bin/sh -e
if [ -x "/etc/init.d/cubicweb-ctl" ]; then
invoke-rc.d cubicweb-ctl restart || true
fi
#DEBHELPER#
exit 0