MXS-2871: Fix postrm script
The script used the wrong command to stop the service. Added the missing disable that mirrors the enable in the postinst script.
This commit is contained in:
parent
f6d848d58c
commit
c0e20137ee
@ -17,11 +17,13 @@ then
|
||||
|
||||
if [ -f /usr/lib/systemd/system/maxscale.service ]
|
||||
then
|
||||
systemd stop maxscale.service
|
||||
systemctl stop maxscale.service
|
||||
systemctl disable maxscale.service
|
||||
rm /usr/lib/systemd/system/maxscale.service
|
||||
elif [ -f /lib/systemd/system/maxscale.service ]
|
||||
then
|
||||
systemd stop maxscale.service
|
||||
systemctl stop maxscale.service
|
||||
systemctl disable maxscale.service
|
||||
rm /lib/systemd/system/maxscale.service
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user