debian/cubicweb-server.prerm
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 29 Jul 2015 10:18:23 +0200
changeset 10578 c70606673384
parent 0 b97547f5f1fa
permissions -rw-r--r--
[web/sessions] simplify session cleanup session.cnx.check() is no longer a thing. It dates back to dbapi.

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