futriix/pkg/deb/debian_dh9/keydb-enterprise-server.prerm
benschermel d1bfe49bc2 update all packaging to support enterprise dist
Former-commit-id: 1fd4f27cd271090fc66dba3b09a3800bf1c33b0e
2021-03-17 02:30:34 +00:00

13 lines
424 B
Bash

#!/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