zeroflag opened a new pull request, #751:
URL: https://github.com/apache/knox/pull/751

   ## What changes were proposed in this pull request?
   
   Adding restart command.
   
   ## How was this patch tested?
   
   Normal restart:
   
   ```
   bin/gateway.sh restart 
   
   $ bin/gateway.sh restart 
   Stopping Gateway with PID 54014 succeeded.
   Starting Gateway Retry attempts = 5
   succeeded with PID 54075.
   amagyar-MBP16:test attilamagyar$ 
   ```
   
   Extra params:
   
   ```
   $ bin/gateway.sh restart --printEnv --test-gateway-retry-attempts 3 
--test-gateway-retry-sleep 2
   Stopping Gateway with PID 54075 succeeded.
   APP_CONF_DIR = /Users/attilamagyar/development/test/conf
   APP_LOG_DIR = /Users/attilamagyar/development/test/logs
   APP_DATA_DIR = /Users/attilamagyar/development/test/data
   APP_DBG_OPTS = -Xdebug 
-Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n
   APP_PID_DIR = /Users/attilamagyar/development/test/pids
   APP_JAVA_LIB_PATH = 
-Djava.library.path=/Users/attilamagyar/development/test/ext/native
   APP_JAR = /Users/attilamagyar/development/test/bin/gateway.jar
   Starting Gateway Retry attempts = 3
   Retry sleep = 2
   Retry attempts = 3
   Retry sleep = 2
   Retry attempts = 3
   Retry sleep = 2
   succeeded with PID 54136.
   amagyar-MBP16:test attilamagyar$ 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to