debian/cubicweb-server.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Jul 2009 17:57:19 +0200
branchstable
changeset 2255 c346af0727ca
parent 0 b97547f5f1fa
permissions -rw-r--r--
more generic way to detect json requests (not yet perfect though)

#! /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