diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:04:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:04:23 +0000 |
commit | 9a6158e391576f265fbd7d0da2778ecad1dbecd5 (patch) | |
tree | 1409a92dae3e99541a9283fed1d0409adb033557 /debian/mariadb-server-10.6.prerm | |
parent | Adding upstream version 1:10.6.11. (diff) | |
download | mariadb-10.6-debian.tar.xz mariadb-10.6-debian.zip |
Adding debian version 1:10.6.11-2.debian/1%10.6.11-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mariadb-server-10.6.prerm')
-rw-r--r-- | debian/mariadb-server-10.6.prerm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/mariadb-server-10.6.prerm b/debian/mariadb-server-10.6.prerm new file mode 100644 index 00000000..8fd172da --- /dev/null +++ b/debian/mariadb-server-10.6.prerm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +# Modified dh_systemd_start snippet that's not added automatically +if [ -d /run/systemd/system ]; then + deb-systemd-invoke stop mariadb.service >/dev/null +# Modified dh_installinit snippet to only run with sysvinit +elif [ -x "/etc/init.d/mariadb" ]; then + invoke-rc.d mariadb stop || exit $? +fi |