From bcb3f9ba2b879257192c269ded6d16d29479023a 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. BUG: 1259225 Change-Id: I0e7fcc1eb74419679d78d4cc61253c6edf23b57b 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 Reviewed-on: http://review.gluster.org/13721 Tested-by: Kaleb KEITHLEY Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster 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 901464e0ef8..9b634177065 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