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?