diff --git a/pkg/deb/debian_dh9/control b/pkg/deb/debian_dh9/control index b02f1be4e..f847ad345 100644 --- a/pkg/deb/debian_dh9/control +++ b/pkg/deb/debian_dh9/control @@ -21,7 +21,12 @@ Build-Depends: autotools-dev , autoconf , libjemalloc-dev , - libssl-dev + libssl-dev , + libsnappy-dev , + zlib1g-dev , + libbz2-dev , + liblz4-dev , + libzstd-dev Standards-Version: 4.2.1 Homepage: https://docs.keydb.dev/ Vcs-Git: https://github.com/JohnSully/KeyDB-Pro.git diff --git a/pkg/deb/debian_dh9/keydb-pro-sentinel.postinst b/pkg/deb/debian_dh9/keydb-pro-sentinel.postinst index f69ed97e1..787464165 100644 --- a/pkg/deb/debian_dh9/keydb-pro-sentinel.postinst +++ b/pkg/deb/debian_dh9/keydb-pro-sentinel.postinst @@ -21,6 +21,6 @@ then find /etc/keydb -maxdepth 1 -type d -name 'keydb-sentinel.*.d' -empty -delete fi -sytemctl daemon-reload +systemctl daemon-reload exit 0 diff --git a/pkg/deb/debian_dh9/keydb-pro-sentinel.postrm b/pkg/deb/debian_dh9/keydb-pro-sentinel.postrm index 53397103d..2ce8771df 100644 --- a/pkg/deb/debian_dh9/keydb-pro-sentinel.postrm +++ b/pkg/deb/debian_dh9/keydb-pro-sentinel.postrm @@ -11,6 +11,6 @@ fi #DEBHELPER# -sytemctl daemon-reload +systemctl daemon-reload exit 0 diff --git a/pkg/deb/debian_dh9/keydb-pro-sentinel.prerm b/pkg/deb/debian_dh9/keydb-pro-sentinel.prerm new file mode 100644 index 000000000..cbe143203 --- /dev/null +++ b/pkg/deb/debian_dh9/keydb-pro-sentinel.prerm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e +# Automatically added by dh_installinit/11.1.6ubuntu1 +if [ -x "/etc/init.d/keydb-sentinel" ]; then + invoke-rc.d keydb-sentinel 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-sentinel.service' >/dev/null || true +fi +# End automatically added section diff --git a/pkg/deb/debian_dh9/keydb-pro-server.postrm b/pkg/deb/debian_dh9/keydb-pro-server.postrm index 448989f66..cf57953c3 100644 --- a/pkg/deb/debian_dh9/keydb-pro-server.postrm +++ b/pkg/deb/debian_dh9/keydb-pro-server.postrm @@ -11,6 +11,6 @@ fi #DEBHELPER# -sytemctl daemon-reload +systemctl daemon-reload exit 0 diff --git a/pkg/deb/debian_dh9/keydb-pro-server.prerm b/pkg/deb/debian_dh9/keydb-pro-server.prerm new file mode 100644 index 000000000..3517c7ccb --- /dev/null +++ b/pkg/deb/debian_dh9/keydb-pro-server.prerm @@ -0,0 +1,12 @@ +#!/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