MXS-2810: Fix CentOS 6 regression

MaxScale wasn't stopped if the system didn't use systemd.
This commit is contained in:
Markus Mäkelä
2020-02-19 10:19:20 +02:00
parent 61050ed125
commit 13658fe23e

View File

@ -7,6 +7,7 @@ if [ "$1" = "0" ] || [ "$1" = "remove" ]
then
if [ -f /etc/init.d/maxscale ]
then
/etc/init.d/maxscale stop
rm /etc/init.d/maxscale
fi