Running server-program from a .jar file
Posted
by
skiwi
on Stack Overflow
See other posts from Stack Overflow
or by skiwi
Published on 2013-11-04T09:44:50Z
Indexed on
2013/11/04
9:53 UTC
Read the original article
Hit count: 295
I have created and am working on a server-application that monitors for specific folders and takes appropriate actions whenever files are being added.
Now I come to the point where I want to be able to shutdown the program, for example for applying a patch.
The server runs simply in a command prompt, how can I signal that I want to perform maintenance on it? I do not think reading System.In
is feasible as I am also outputting text in the prompt.
Regards.
© Stack Overflow or respective owner