You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2019/04/05 07:25:13 UTC

[GitHub] [knox] smolnar82 opened a new pull request #85: KNOX-1849 - Start the Java process with 'exec' when running the app in the foreground

smolnar82 opened a new pull request #85: KNOX-1849 - Start the Java process with 'exec' when running the app in the foreground
URL: https://github.com/apache/knox/pull/85
 
 
   ## What changes were proposed in this pull request?
   
   Running the Knox Gateway and the LDAP server using exec in the foreground gives us the opportunity to execute the underlying Java command that completely replaces the current bash process (there won't be any parent process which makes graceful stops easier by clients).
   
   Note: without this change CM will consider the Gateway stopped even if the JAva process is still running in the background.
   
   ## How was this patch tested?
   
   Running Knox Gateway and the LDAP server in the foreground after I built the project.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services