From b3eb5ccc81a47d98a6fe4a38750ac714a8b95fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 1 Jul 2019 17:13:09 +0300 Subject: [PATCH] Fix run_ctrl_c.sh on newer systems Systems that no longer support SysV init scripts and the service command need to use systemctl. --- maxscale-system-test/test_ctrl_c/test_ctrl_c.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxscale-system-test/test_ctrl_c/test_ctrl_c.sh b/maxscale-system-test/test_ctrl_c/test_ctrl_c.sh index fafff6de3..0eb2d64d8 100755 --- a/maxscale-system-test/test_ctrl_c/test_ctrl_c.sh +++ b/maxscale-system-test/test_ctrl_c/test_ctrl_c.sh @@ -1,6 +1,6 @@ #!/bin/bash -sudo service maxscale stop +sudo systemctl stop maxscale || sudo service maxscale stop hm=`pwd` $hm/start_killer.sh &