This is a simple script to run a Java program from Linux shell in the background - so that the process does not terminates when you log out of the shell.
Usage is simple:
- Start the process
$ ./java-app-run.sh start
- Stop the process
$ ./java-app-run.sh stop
This makes sure that the process does not get launched twice. Creates a simple pid
file in the path specified at APPPID
.
I run on Linux Server but it not work properly