enforce use of environment variables when running as a service
CW_INSTANCES_DIR, CW_INSTANCES_DATA_DIR, CW_RUNTIME_DIR must be
positionned at the system level. This will ensure that cubicweb-ctl
commands issued on the computer will use the proper directories.
#! /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