I have one java jar , i want to run that jar as a service on ubuntu16.04 server. I also want to run according to my run level. Please suggest something like configuration file or script.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.