#!/bin/sh set -e # Automatically added by dh_installinit/11.1.6ubuntu1 if [ -x "/etc/init.d/keydb-server" ]; then invoke-rc.d keydb-server stop || exit 1 fi # End automatically added section # Automatically added by dh_installsystemd/11.1.6ubuntu1 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'keydb-server.service' >/dev/null || true fi # End automatically added section