MXS-2810: Stop MaxScale on uninstall

This commit is contained in:
Markus Mäkelä 2020-01-10 09:47:19 +02:00
parent c18cbb7a6d
commit 4918914042
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -17,9 +17,11 @@ then
if [ -f /usr/lib/systemd/system/maxscale.service ]
then
systemd stop maxscale.service
rm /usr/lib/systemd/system/maxscale.service
elif [ -f /lib/systemd/system/maxscale.service ]
then
systemd stop maxscale.service
rm /lib/systemd/system/maxscale.service
fi