diff --git a/rstudio-server/files/tomcat_checkandstart b/rstudio-server/files/tomcat_checkandstart index 14f92b0b..5b67208d 100644 --- a/rstudio-server/files/tomcat_checkandstart +++ b/rstudio-server/files/tomcat_checkandstart @@ -1,11 +1,11 @@ #!/bin/bash -ISTOMCATRUNNING=="$(ps -fu gcube | grep -v grep | grep -c java)" +ISTOMCATRUNNING="$(ps -fu gcube | grep -v grep | grep -c java)" if (( $ISTOMCATRUNNING == 0 )) then sleep 60 - ISTOMCATRUNNING=="$(ps -fu gcube | grep -v grep | grep -c java)" + ISTOMCATRUNNING="$(ps -fu gcube | grep -v grep | grep -c java)" fi if (( $ISTOMCATRUNNING == 0 ))