Mac 10.9.5 here. I am trying to figure out how to configured my machine to run an executable (Java) app as a service/daemon, so that it is always running so long as the machine is on. Hence, this app needs to start when I boot up, when I come back after being away for a while ('waking up'), etc.
Say I can manually run my app (server) by running:
java -jar /Users/myuser/utils/myapp.jar
How can I get
myapp.jar to run as a service/daemon?