Minor change in script service-openmano.sh to solve bug in service start 08/208/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 9 May 2016 16:21:03 +0000 (18:21 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 9 May 2016 16:21:03 +0000 (18:21 +0200)
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
scripts/service-openmano.sh

index 243d13f..ba2bc03 100755 (executable)
@@ -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}'`