diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:33:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:33:08 +0000 |
commit | 7e05033f3904808cdd611a9c81c9b0ba30e73acd (patch) | |
tree | d31799a885d962cc183a52288c2eae01c682a31c /debian/mariadb-server.postinst | |
parent | Merging upstream version 1:10.11.7. (diff) | |
download | mariadb-ec977fd1d2296d2dff3616ac8451677c5da455d4.tar.xz mariadb-ec977fd1d2296d2dff3616ac8451677c5da455d4.zip |
Adding debian version 1:10.11.7-1.debian/1%10.11.7-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mariadb-server.postinst')
-rw-r--r-- | debian/mariadb-server.postinst | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/mariadb-server.postinst b/debian/mariadb-server.postinst index 0ca5731b..ca267a3a 100644 --- a/debian/mariadb-server.postinst +++ b/debian/mariadb-server.postinst @@ -301,28 +301,5 @@ esac db_stop # in case invoke fails -# dh_systemd_start doesn't emit anything since we still ship /etc/init.d/mariadb. -# Thus MariaDB server is started via init.d script, which in turn redirects to -# systemctl. If we upgrade from MySQL mysql.service may be masked, which also -# means init.d script is disabled. Unmask mysql service explicitly. -# Check first that the command exists, to avoid emitting any warning messages. -if [ -x "$(command -v deb-systemd-helper)" ] -then - deb-systemd-helper unmask mysql.service > /dev/null -fi - #DEBHELPER# -# Modified dh_systemd_start snippet that's not added automatically -if [ -d /run/systemd/system ] -then - systemctl --system daemon-reload >/dev/null || true - deb-systemd-invoke start mariadb.service >/dev/null || true - # Modified dh_installinit snippet to only run with sysvinit -elif [ -x "/etc/init.d/mariadb" ] -then - if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] - then - invoke-rc.d mariadb start || exit $? - fi -fi |