From 8e7ca068720fa6fa50e4746e5b17c305f38171e8 Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Wed, 2 Sep 2015 14:17:55 +0530 Subject: CommonHA: Fix the path of 'systemctl' cmd 'systemctl' command path should be '/usr/bin/sytemctl'. Fixed the typo in the HA-script. Change-Id: Ied9fb85e25646ef00b303e361966e9d1354fe440 BUG: 1259225 Signed-off-by: Soumya Koduri Reviewed-on: http://review.gluster.org/12089 Reviewed-by: Kaleb KEITHLEY Reviewed-by: Niels de Vos Tested-by: Gluster Build System Tested-by: NetBSD Build System --- extras/ganesha/scripts/ganesha-ha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras') diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh index 72465be32aa..2a9d696d87f 100644 --- a/extras/ganesha/scripts/ganesha-ha.sh +++ b/extras/ganesha/scripts/ganesha-ha.sh @@ -97,7 +97,7 @@ manage_service () { local action=${1} local new_node=${2} - if [ "$SERVICE_MAN" == "/usr/sbin/systemctl" ] + if [ "$SERVICE_MAN" == "/usr/bin/systemctl" ] then ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i \ ${SECRET_PEM} root@${new_node} "$SERVICE_MAN ${action} nfs-ganesha" -- cgit