Fix run_ctrl_c.sh on newer systems
Systems that no longer support SysV init scripts and the service command need to use systemctl.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo service maxscale stop
|
sudo systemctl stop maxscale || sudo service maxscale stop
|
||||||
|
|
||||||
hm=`pwd`
|
hm=`pwd`
|
||||||
$hm/start_killer.sh &
|
$hm/start_killer.sh &
|
||||||
|
|||||||
Reference in New Issue
Block a user