debian/cubicweb-twisted.postinst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 05 Jul 2011 12:09:53 +0200
changeset 7619 0d0344fd5231
parent 0 b97547f5f1fa
permissions -rw-r--r--
[etwist] clear ui cache at server startup time. Closes #1806933 this avoid pb when cubicweb/cubes provide new version of some js/css and also accumulating junk in the cache directories

#! /bin/sh -e

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