0

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?

  • 1
    Look at Apple's documentation e.g. developer.apple.com/library/mac/technotes/tn2083/_index.html#//… This is a comment as the question is a duplicate and I don't have time to search for it – Mark Jul 6 '16 at 10:04
  • Thanks @Mark (+1) if this question is a dupe would you mind providing a link to the question it is a dupe of? If that other question does in fact address my OS version as well then I will happily delete this question myself! – smeeb Jul 6 '16 at 10:34

You must log in to answer this question.

Browse other questions tagged .