You need a Service Wrapper to run the Jar file.
There are examples and instructions for init.d here. or for systemd (ubuntu 16+) here
You need a Service Wrapper to run the Jar file.
There are examples and instructions for init.d here. or for systemd (ubuntu 16+) here