Rohit Bajaj
asked on
init script for deployment on linux machine
HI,
I have a web application which i start by the command :
java -jar start.jar jetty.http.port=8888 inside the directory /home/robinsu/tools/jetty
I need to build an initscript for this so that when the machine restarts my program is always running.
Please help me in building or guiding to build this initscript and where to place it ?
Thanks
I have a web application which i start by the command :
java -jar start.jar jetty.http.port=8888 inside the directory /home/robinsu/tools/jetty
I need to build an initscript for this so that when the machine restarts my program is always running.
Please help me in building or guiding to build this initscript and where to place it ?
Thanks
What is the path of java-jar and which linux distribution and version?
ASKER
i am running the command inside /root/jetty
This is CentOS 7 i have setup a virtualBox
This is CentOS 7 i have setup a virtualBox
Sorry forgot to ask, what user will this service run under?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Press A on text editor and A appears in text file.