You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ch...@apache.org on 2014/05/22 08:46:20 UTC

git commit: Fixing https://issues.apache.org/jira/browse/STRATOS-655

Repository: incubator-stratos
Updated Branches:
  refs/heads/4.0.0-incubating a56ab6f69 -> 631b0b7b3


Fixing https://issues.apache.org/jira/browse/STRATOS-655


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/631b0b7b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/631b0b7b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/631b0b7b

Branch: refs/heads/4.0.0-incubating
Commit: 631b0b7b30c6b6df8a156258cb973ce34908231f
Parents: a56ab6f
Author: Chris Snow <ch...@apache.org>
Authored: Thu May 22 06:45:25 2014 +0000
Committer: Chris Snow <ch...@apache.org>
Committed: Thu May 22 06:45:25 2014 +0000

----------------------------------------------------------------------
 products/stratos/modules/distribution/src/bin/stratos.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/631b0b7b/products/stratos/modules/distribution/src/bin/stratos.sh
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/bin/stratos.sh b/products/stratos/modules/distribution/src/bin/stratos.sh
index eda3730..1af040e 100755
--- a/products/stratos/modules/distribution/src/bin/stratos.sh
+++ b/products/stratos/modules/distribution/src/bin/stratos.sh
@@ -183,7 +183,7 @@ elif [ "$CMD" = "start" ]; then
   fi
   export CARBON_HOME=$CARBON_HOME
 # using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/stratos.sh $args > /dev/null 2>&1 &
+  nohup bash $CARBON_HOME/bin/stratos.sh $args < /dev/null > /dev/null 2>&1 &
   exit 0
 elif [ "$CMD" = "stop" ]; then
   export CARBON_HOME=$CARBON_HOME
@@ -202,7 +202,7 @@ elif [ "$CMD" = "restart" ]; then
   done
 
 # using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/stratos.sh $args > /dev/null 2>&1 &
+  nohup bash $CARBON_HOME/bin/stratos.sh $args < /dev/null > /dev/null 2>&1 &
   exit 0
 elif [ "$CMD" = "test" ]; then
     JAVACMD="exec "$JAVACMD""