MXS-2810: Fix CentOS 6 regression
MaxScale wasn't stopped if the system didn't use systemd.
This commit is contained in:
@ -7,6 +7,7 @@ if [ "$1" = "0" ] || [ "$1" = "remove" ]
|
|||||||
then
|
then
|
||||||
if [ -f /etc/init.d/maxscale ]
|
if [ -f /etc/init.d/maxscale ]
|
||||||
then
|
then
|
||||||
|
/etc/init.d/maxscale stop
|
||||||
rm /etc/init.d/maxscale
|
rm /etc/init.d/maxscale
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user