Commit d859ffff authored by Sergey's avatar Sergey

Merge pull request #145 from ottok/ok-debpkg-10.0

MDEV-9354: Debian: unmask the mysql.service on installation
parents be19bba4 2a9f84b9
......@@ -264,6 +264,11 @@ fi
db_stop # in case invoke failes
# If we upgrade from MySQL mysql.service may be masked, which also
# means init.d script is disabled. Unmask mysql service explicitely.
# Ignore exit code as command is not available everywhere.
deb-systemd-helper unmask mysql.service > /dev/null || true
#DEBHELPER#
exit 0
......@@ -280,6 +280,11 @@ fi
db_stop # in case invoke failes
# If we upgrade from MySQL mysql.service may be masked, which also
# means init.d script is disabled. Unmask mysql service explicitely.
# Ignore exit code as command is not available everywhere.
deb-systemd-helper unmask mysql.service > /dev/null || true
#DEBHELPER#
exit 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment