knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [knox] branch master updated: KNOX-1803 - Stop redirecting stderr & stdout to a file when the server runs in the foreground (#64)
Date Wed, 06 Mar 2019 16:26:23 GMT
This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 42c3411  KNOX-1803 - Stop redirecting stderr & stdout to a file when the server
runs in the foreground (#64)
42c3411 is described below

commit 42c341190db362b9679b0dd1ee4a91b0de82635e
Author: Sandor Molnar <smolnar@apache.org>
AuthorDate: Wed Mar 6 17:26:19 2019 +0100

    KNOX-1803 - Stop redirecting stderr & stdout to a file when the server runs in the
foreground (#64)
---
 gateway-release/home/bin/gateway.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gateway-release/home/bin/gateway.sh b/gateway-release/home/bin/gateway.sh
index 5f9b8df..6c0ac16 100755
--- a/gateway-release/home/bin/gateway.sh
+++ b/gateway-release/home/bin/gateway.sh
@@ -112,7 +112,7 @@ function appStart {
    checkEnv
 
    if [ "$GATEWAY_SERVER_RUN_IN_FOREGROUND" == true ]; then
-      $JAVA $APP_JAVA_LIB_PATH $APP_MEM_OPTS $APP_DBG_OPTS $APP_LOG_OPTS -jar $APP_JAR >>$APP_OUT_FILE
2>>$APP_ERR_FILE
+      $JAVA $APP_JAVA_LIB_PATH $APP_MEM_OPTS $APP_DBG_OPTS $APP_LOG_OPTS -jar $APP_JAR
    else
       getPID
       if [ "$?" -eq "0" ]; then


Mime
View raw message