debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 24 Apr 2013 12:10:12 +0200
changeset 8912 da2007002dca
parent 0 b97547f5f1fa
permissions -rw-r--r--
[task] allow negative intervals for add_looping_task (closes #2818280) Instead of rejecting values < 0 with a ValueError, we ignore tasks with a negative interval. This introduce a simple way to disable task from configuration.

#! /bin/sh -e

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