I have a console application (written in Java) that should run on a Linux machine until it stops.
Logging is done by the application itself.
The application should be stopped whenever a new version is available (for example, I log in, stop the application, copy the new JAR file and run it again).
What are the options for implementing this other than those listed below?
Known ways to do this:
1) Tanuki Maintenance Wrap
2) nohup java -jar myapp-1.32.jar &
source
share