Does Commons-Daemon exist to make your executable JAR a service?

353 Views Asked by At

Say I have an executable JAR called myapp.jar. Does Apache Commons-Daemon exist so that I could then write a /etc/init.d/myapp service script (for starting/stopping a myapp service), and then treat myapp like a regular Linux service:

service myapp stop
service myapp start
service myapp restart

Or does it do something else?

0

There are 0 best solutions below