blob: 23eb7d43bbc25c62014bf31d6f2c69d68429e2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
set -e
#DEBHELPER#
# Modified dh_systemd_start snippet that's not added automatically due /etc/init.d/mysql
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/mysql" ]; then
invoke-rc.d mysql stop || exit $?
fi
exit 0
|