From: garciadeblas Date: Mon, 9 May 2016 16:21:03 +0000 (+0200) Subject: Minor change in script service-openmano.sh to solve bug in service start X-Git-Tag: v1.0.0~78^2~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F208%2F1;p=osm%2FRO.git Minor change in script service-openmano.sh to solve bug in service start Signed-off-by: garciadeblas --- diff --git a/scripts/service-openmano.sh b/scripts/service-openmano.sh index 243d13f8..ba2bc036 100755 --- a/scripts/service-openmano.sh +++ b/scripts/service-openmano.sh @@ -69,7 +69,7 @@ done for om_component in $om_list do - [ "${om_component}" == "mano" ] && om_cmd="openmanod.py" && om_name="openmano " && om_dir=$(readlink -f ${DIR_OM}/openmano) + [ "${om_component}" == "mano" ] && om_cmd="openmanod.py" && om_name="openmano " && om_dir=$(readlink -f ${DIR_OM}) #obtain PID of program component_id=`ps -o pid,cmd -U $USER -u $USER | grep -v grep | grep ${om_cmd} | awk '{print $1}'`