-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove commons-daemon from dependencies
Motivation: The current version of `jsvc` does not support Java 9+. If we can remove `commons-daemon` from dependencies, we would have less blocker for supporting latest Java version. Modifications: - Removed `commons-daemon` from dependencies. - Removed `jsvc` binaries from `dist/src/bin`. - The server now creates a pidfile when it starts up and deletes it when it is terminated. - `startup`/`shutdown` waits until the pidfile is created/deleted. - Updated `Dockerfile`: - Using `openjdk:lastest` instead of `openjdk:8`. - Set the entry point in order to correctly handle a signal from a user. `docker stop` command, which sends `TERM` signal to the container, will work. Result: - Less dependencies. - Support Java 9+.
- Loading branch information
Showing
12 changed files
with
205 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.