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:
parent
0b18826fc1
commit
b3eb5ccc81
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo service maxscale stop
|
||||
sudo systemctl stop maxscale || sudo service maxscale stop
|
||||
|
||||
hm=`pwd`
|
||||
$hm/start_killer.sh &
|
||||
|
Loading…
x
Reference in New Issue
Block a user