debian/cubicweb-twisted.prerm
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 21 Mar 2013 16:52:13 +0100
branchstable
changeset 8758 3a0d91237e2c
parent 0 b97547f5f1fa
permissions -rw-r--r--
[devtools] fix a couple issues with xvfb-run xvfb-run didn't quite clean up correctly after itself, because: - dash doesn't run EXIT traps on signals - if we don't run the command in the background, a TERM handler doesn't run until the command exits

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0