Patchwork [bitbake-devel,81/94] bitbake: webhob: better help message in startup script

login
register
mail settings
Submitter Alexandru DAMIAN
Date Sept. 24, 2013, 4:52 p.m.
Message ID <e40d76bcffc1e30e4c370a497a9f4d57cbf4116f.1380041477.git.alexandru.damian@intel.com>
Download mbox | patch
Permalink /patch/58767/
State New
Headers show

Comments

Alexandru DAMIAN - Sept. 24, 2013, 4:52 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

Improved the error during stop message in the
startup script as the previous message was confusing
to the users.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 bitbake/bin/webhob | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Patch

diff --git a/bitbake/bin/webhob b/bitbake/bin/webhob
index 0c4d9ea..7bc9759 100755
--- a/bitbake/bin/webhob
+++ b/bitbake/bin/webhob
@@ -104,7 +104,14 @@  if [ ${CMD} == "start" ] && ( [ $lock -eq 0 ] || [ -e $BUILDDIR/whbmain.pid ] );
     return 3
 elif [ ${CMD} == "stop" ] && ( [ $lock -eq 1 ] || ! [ -e $BUILDDIR/whbmain.pid ] ) ; then
     echo "Error: bitbake lock state error. Trying to stop a stopped system ?
-manually stop system with bitbake -m / webserverKill" 2>&1
+If you think the system is hanged up, you can try to manually stop system with the commands
+
+# BBSERVER=localhost:8200 bitbake -m
+
+and
+
+# webserverKillAll
+" 2>&1
     return 3
 fi