debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 13 Nov 2013 12:39:30 +0100
branchstable
changeset 9336 722635e530a0
parent 0 b97547f5f1fa
permissions -rw-r--r--
[server] Add missing indices for undo support (closes #3259691) The tables used by the 'undo' feature were missing some indices, which among other things triggered repeated sequential scans when deleting old transactions.

#! /bin/sh -e

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0