Skip to content

Instantly share code, notes, and snippets.

@domguard
Created December 1, 2011 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domguard/1414943 to your computer and use it in GitHub Desktop.
Save domguard/1414943 to your computer and use it in GitHub Desktop.
Start/stop jar file from the command line
java -DSTOP.PORT=8079 -DSTOP.KEY=secret -jar start.jar
java -DSTOP.PORT=8079 -DSTOP.KEY=secret -jar start.jar --stop
Copy link

ghost commented Jan 26, 2017

how start.jar does this? opening and listening on another extra sockets and spawning an thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment