two in one: #343320: Logging out while deleting a CWUser blocks the cw server / #342692: ensure transaction state when Ctrl-C or other stop signal is received
#! /bin/sh -ecase "$1" in remove) if [ -x "/etc/init.d/cubicweb-ctl" ]; then invoke-rc.d cubicweb-ctl stop || true fi ;;esac#DEBHELPER#exit 0