#!/bin/sh set -e # Automatically added by dh_installinit if [ -x "/etc/init.d/postgresql" ] && [ "$1" = remove ]; then invoke-rc.d postgresql stop || exit $? fi # End automatically added section