debian/cubicweb-server.postinst
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 16 Oct 2015 16:44:36 +0200
changeset 10796 26a36c2a5fbd
parent 0 b97547f5f1fa
permissions -rw-r--r--
[devtools] delete postgresql socket directory after killing the server ... or when failing to start it.

#! /bin/sh -e

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